diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-04 18:00:40 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-04 18:00:40 (GMT) |
commit | 3f49c1a9debb911f40b44ee7e37c0b2dcfc09c9f (patch) | |
tree | bbc5b334a8d7114e76433ffa4fefbeb2a3ab817c /hl | |
parent | 44019af998d6584a0b7af155c8cb627d4d750175 (diff) | |
download | hdf5-3f49c1a9debb911f40b44ee7e37c0b2dcfc09c9f.zip hdf5-3f49c1a9debb911f40b44ee7e37c0b2dcfc09c9f.tar.gz hdf5-3f49c1a9debb911f40b44ee7e37c0b2dcfc09c9f.tar.bz2 |
[svn-r4108]
Purpose:
Bug fix
Description:
One of the function calls (H5Sget_simple_extent_dims) used parameter with
the wrong type. That caused compilation errors on T3E.
Solution:
Used NULL since the argument is optional and was never used.
Platforms tested:
T3E(mcurie) and IRIX64 (modi4)
Diffstat (limited to 'hl')
-rw-r--r-- | hl/tools/gif2h5/readhdf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hl/tools/gif2h5/readhdf.c b/hl/tools/gif2h5/readhdf.c index a7101c9..0741966 100644 --- a/hl/tools/gif2h5/readhdf.c +++ b/hl/tools/gif2h5/readhdf.c @@ -41,7 +41,6 @@ int ReadHDF(BYTE** data , hsize_t pal_size; /* size of the palette */ hsize_t datasize; /* size of the image */ - hsize_t maxdims; /* dummy */ int pal_exist = 0; /* do we have a palette? */ @@ -76,7 +75,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; } |