summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-02-18 12:26:59 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-02-18 12:26:59 (GMT)
commit1fdf079abcd120421fe6453666bfc190bf07dd50 (patch)
tree47139e08ff9047267521c0532cad397fc622e284 /tools
parent6a2bc2f4aa425e8e515cd348f0d4e81d4992ae1e (diff)
downloadhdf5-1fdf079abcd120421fe6453666bfc190bf07dd50.zip
hdf5-1fdf079abcd120421fe6453666bfc190bf07dd50.tar.gz
hdf5-1fdf079abcd120421fe6453666bfc190bf07dd50.tar.bz2
[svn-r1974] Added const to the h5dump_region third argument to quite a compiler
complain and it is more correct this way too.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index f3d55ce6..d154441 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -507,7 +507,7 @@ h5dump_is_zero(const void *_mem, size_t size)
*-------------------------------------------------------------------------
*/
static int
-h5dump_region(hid_t region, h5dump_str_t *str/*in,out*/, h5dump_t *info)
+h5dump_region(hid_t region, h5dump_str_t *str/*in,out*/, const h5dump_t *info)
{
hssize_t nblocks, npoints, i;
hsize_t *ptdata;