summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-19 11:38:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-19 11:38:50 (GMT)
commita68bc7f2050cb828a9e750923d33db44c1c5c708 (patch)
tree5ed1a548ba44923a3edbb7c0b995468941c1fe96 /test
parentedd55ada7c76e7908f8d20d889795ef0e8b9b43c (diff)
downloadhdf5-a68bc7f2050cb828a9e750923d33db44c1c5c708.zip
hdf5-a68bc7f2050cb828a9e750923d33db44c1c5c708.tar.gz
hdf5-a68bc7f2050cb828a9e750923d33db44c1c5c708.tar.bz2
[svn-r20552] Description:
Bring r20551 from trunk to 1.8 branch: Correct 'FILE **' back to 'FILE *' for H5Fget_vfd_handle call. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committest performed on trunk)
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 e7884d3..5a4074a 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;
TESTING("STDIO file driver");
@@ -1252,7 +1252,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 */