diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-04 17:32:48 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-04 17:32:48 (GMT) |
commit | d9d71b06e46f5b52eec44d8a86b0394de49940cf (patch) | |
tree | 3300005d0652404eee0cdaba12e3aa08d6e57ec6 /hl/tools/gif2h5 | |
parent | 3c16a9a41e0e444ef801cbb01aed239b7c47cacb (diff) | |
download | hdf5-d9d71b06e46f5b52eec44d8a86b0394de49940cf.zip hdf5-d9d71b06e46f5b52eec44d8a86b0394de49940cf.tar.gz hdf5-d9d71b06e46f5b52eec44d8a86b0394de49940cf.tar.bz2 |
[svn-r4107]
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 that argument is optional and was never used.
Platforms tested:
T3E(mcurie) and IRIX64 (modi4)
Diffstat (limited to 'hl/tools/gif2h5')
-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 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; } |