diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-06 19:45:59 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-06 19:45:59 (GMT) |
commit | 9eb005a7d0d54ccd527c7b7df2a6ea624557767f (patch) | |
tree | 842556755a315427f703c6536180216979dbee88 /hl | |
parent | 87bf7b5bf15446ed449361700127cbc07d57f064 (diff) | |
download | hdf5-9eb005a7d0d54ccd527c7b7df2a6ea624557767f.zip hdf5-9eb005a7d0d54ccd527c7b7df2a6ea624557767f.tar.gz hdf5-9eb005a7d0d54ccd527c7b7df2a6ea624557767f.tar.bz2 |
[svn-r4137]
Purpose:
Bufg fix
Description:
H5Sget_simple_extent_dims function had the third argument of the wrong type.
Solution:
Replaced the argument with NULL, since it is not used.
Platforms tested:
T3E
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 0741966..b9a80cd 100644 --- a/hl/tools/gif2h5/readhdf.c +++ b/hl/tools/gif2h5/readhdf.c @@ -98,7 +98,6 @@ int ReadHDF(BYTE** data , if (pal_exist) { hsize_t pal_size[2]; - hsize_t max_pal_dims[2]; hsize_t pal_datasize; CHAR *pal_path; @@ -120,7 +119,7 @@ int ReadHDF(BYTE** data , } /* get the dimension size of the palette. */ - if (H5Sget_simple_extent_dims(pal_space , pal_size , &max_pal_dims) !=2 ) { + if (H5Sget_simple_extent_dims(pal_space , pal_size , NULL) !=2 ) { fprintf(stderr , "Unable to get dimension info\n"); pal_exist = 0; return -1; |