summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-19 11:34:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-19 11:34:51 (GMT)
commit60bf7fddf1307f48c4ec5fe789910d1e4da41b80 (patch)
treec5715389010d41929bbd08bbd43bd829fb232964 /test
parent96a96fafaab1ca15bec0bcc447aee8c658ce6944 (diff)
downloadhdf5-60bf7fddf1307f48c4ec5fe789910d1e4da41b80.zip
hdf5-60bf7fddf1307f48c4ec5fe789910d1e4da41b80.tar.gz
hdf5-60bf7fddf1307f48c4ec5fe789910d1e4da41b80.tar.bz2
[svn-r20551] Description:
Correct 'FILE **' back to 'FILE *' for H5Fget_vfd_handle call. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc 4.6 & debug FreeBSD/64 8.2 (freedom) w/gcc 4.6 & debug Solaris 2.6 (linew)
Diffstat (limited to 'test')
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index a518f8a..9fe0e9e 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -1223,7 +1223,7 @@ test_stdio(void)
hid_t fapl = -1;
hid_t access_fapl = -1;
char filename[1024];
- FILE **fhandle = NULL;
+ FILE *fhandle = NULL;
hsize_t file_size = 0;
@@ -1253,7 +1253,7 @@ test_stdio(void)
/* Check file handle API */
if(H5Fget_vfd_handle(file, H5P_DEFAULT, (void **)&fhandle) < 0)
TEST_ERROR;
- if(NULL == *fhandle)
+ if(NULL == fhandle)
TEST_ERROR;
/* Check file size API */