From 9eb005a7d0d54ccd527c7b7df2a6ea624557767f Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Fri, 6 Jul 2001 14:45:59 -0500 Subject: [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 --- hl/tools/gif2h5/readhdf.c | 3 +-- tools/gifconv/readhdf.c | 3 +-- 2 files changed, 2 insertions(+), 4 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; diff --git a/tools/gifconv/readhdf.c b/tools/gifconv/readhdf.c index 0741966..b9a80cd 100644 --- a/tools/gifconv/readhdf.c +++ b/tools/gifconv/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; -- cgit v0.12