From 60bf7fddf1307f48c4ec5fe789910d1e4da41b80 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 19 Apr 2011 06:34:51 -0500 Subject: [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) --- test/vfd.c | 4 ++-- 1 file 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 */ -- cgit v0.12