summaryrefslogtreecommitdiffstats
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/h5_select.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/h5_select.c b/examples/h5_select.c
index 249f2ba..95117e9 100644
--- a/examples/h5_select.c
+++ b/examples/h5_select.c
@@ -170,8 +170,7 @@ main (void)
coord[2][0] = 3; coord[2][1] = 5;
coord[3][0] = 5; coord[3][1] = 6;
- ret = H5Sselect_elements(fid, H5S_SELECT_SET, NPOINTS,
- (const hsize_t **)coord);
+ ret = H5Sselect_elements(fid, H5S_SELECT_SET, NPOINTS, coord);
/*
* Write new selection of points to the dataset.