summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/readhdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/tools/gif2h5/readhdf.c')
-rw-r--r--hl/tools/gif2h5/readhdf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hl/tools/gif2h5/readhdf.c b/hl/tools/gif2h5/readhdf.c
index 52a1837..76bfb86 100644
--- a/hl/tools/gif2h5/readhdf.c
+++ b/hl/tools/gif2h5/readhdf.c
@@ -38,7 +38,6 @@ int ReadHDF(BYTE** data ,
hid_t pal_set; /* dataset for palette */
hid_t pal_space;/* dataspace for palette */
hsize_t datasize; /* size of the image */
- hsize_t maxdims; /* dummy */
int pal_exist = 0; /* do we have a palette? */
/* check stuff */
@@ -72,7 +71,7 @@ int ReadHDF(BYTE** data ,
}
/* get the dimension size of the image */
- if (H5Sget_simple_extent_dims(dspace , image_size , &maxdims) !=2 ) {
+ if (H5Sget_simple_extent_dims(dspace , image_size , NULL) !=2 ) {
fprintf(stderr , "Unable to get dimension info\n");
return -1;
}