summaryrefslogtreecommitdiffstats
path: root/test/trefer.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-01-15 22:25:42 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-01-15 22:25:42 (GMT)
commitf7520c906258636b4b8b24d3b0cd175f653c74ad (patch)
tree5ae2d014cd394715eea60403d91619774abe531c /test/trefer.c
parente5dac2010c173cab81b70b2ba0e9ba03d2b94b91 (diff)
downloadhdf5-f7520c906258636b4b8b24d3b0cd175f653c74ad.zip
hdf5-f7520c906258636b4b8b24d3b0cd175f653c74ad.tar.gz
hdf5-f7520c906258636b4b8b24d3b0cd175f653c74ad.tar.bz2
[svn-r14423] Description:
Change the 'coord' parameter for H5Sselect_elements() from 'hsize_t **' to 'hsize_t *' in this branch also. Tested on: Mac OS X/32 10.5.1 (amazon)
Diffstat (limited to 'test/trefer.c')
-rw-r--r--test/trefer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trefer.c b/test/trefer.c
index 8c01526..c538701 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -423,7 +423,7 @@ test_reference_region(void)
coord1[7][0]=9; coord1[7][1]=0;
coord1[8][0]=7; coord1[8][1]=1;
coord1[9][0]=3; coord1[9][1]=3;
- ret = H5Sselect_elements(sid2,H5S_SELECT_SET,POINT1_NPOINTS,(const hsize_t **)coord1);
+ ret = H5Sselect_elements(sid2,H5S_SELECT_SET,POINT1_NPOINTS,coord1);
CHECK(ret, FAIL, "H5Sselect_elements");
ret = (int)H5Sget_select_npoints(sid2);
@@ -695,7 +695,7 @@ test_reference_region_1D(void)
coord1[7][0]=89;
coord1[8][0]=97;
coord1[9][0]=03;
- ret = H5Sselect_elements(sid3,H5S_SELECT_SET,POINT1_NPOINTS,(const hsize_t **)coord1);
+ ret = H5Sselect_elements(sid3,H5S_SELECT_SET,POINT1_NPOINTS,coord1);
CHECK(ret, FAIL, "H5Sselect_elements");
ret = (int)H5Sget_select_npoints(sid3);