diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-15 21:10:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-15 21:10:42 (GMT) |
commit | e622f3351553cb867566a59b5c8e0d5cf0a74c5a (patch) | |
tree | 639deb8e2e350a16b0712f544e26f64bd91827d4 /test/dsets.c | |
parent | e4b251d90df06d1dcd1a1cdda5ff47c3535a98a1 (diff) | |
download | hdf5-e622f3351553cb867566a59b5c8e0d5cf0a74c5a.zip hdf5-e622f3351553cb867566a59b5c8e0d5cf0a74c5a.tar.gz hdf5-e622f3351553cb867566a59b5c8e0d5cf0a74c5a.tar.bz2 |
[svn-r14420] Description:
Correct the prototype for H5Sselect_elements() to take an 'hsize_t *' for
the coordinates, instead of 'hsize_t **'.
Tested on:
Mac OS X/32 10.5.1 (amazon)
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dsets.c b/test/dsets.c index 797421f..3435087 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -6025,7 +6025,7 @@ test_random_chunks(void) if((m = H5Screate_simple(1, msize, NULL)) < 0) TEST_ERROR; /* Select the random points for writing */ - if(H5Sselect_elements(s, H5S_SELECT_SET, NPOINTS, (const hsize_t **)coord) < 0) TEST_ERROR; + if(H5Sselect_elements(s, H5S_SELECT_SET, NPOINTS, coord) < 0) TEST_ERROR; /* Write into dataset */ if(H5Dwrite(d, H5T_NATIVE_INT, m, s, H5P_DEFAULT, wbuf) < 0) TEST_ERROR; @@ -6050,7 +6050,7 @@ test_random_chunks(void) if((m = H5Screate_simple(1, msize, NULL)) < 0) TEST_ERROR; /* Select the random points for reading */ - if(H5Sselect_elements (s, H5S_SELECT_SET, NPOINTS, (const hsize_t **)coord) < 0) TEST_ERROR; + if(H5Sselect_elements (s, H5S_SELECT_SET, NPOINTS, coord) < 0) TEST_ERROR; /* Read from dataset */ if(H5Dread(d, H5T_NATIVE_INT, m, s, H5P_DEFAULT, rbuf) < 0) TEST_ERROR; @@ -6118,7 +6118,7 @@ test_random_chunks(void) if((m = H5Screate_simple(1, msize, NULL)) < 0) TEST_ERROR; /* Select the random points for writing */ - if(H5Sselect_elements(s, H5S_SELECT_SET, NPOINTS, (const hsize_t **)coord) < 0) TEST_ERROR; + if(H5Sselect_elements(s, H5S_SELECT_SET, NPOINTS, coord) < 0) TEST_ERROR; /* Write into dataset */ if(H5Dwrite(d, H5T_NATIVE_INT, m, s, H5P_DEFAULT, wbuf) < 0) TEST_ERROR; @@ -6143,7 +6143,7 @@ test_random_chunks(void) if((m = H5Screate_simple(1, msize, NULL)) < 0) TEST_ERROR; /* Select the random points for reading */ - if(H5Sselect_elements (s, H5S_SELECT_SET, NPOINTS, (const hsize_t **)coord) < 0) TEST_ERROR; + if(H5Sselect_elements (s, H5S_SELECT_SET, NPOINTS, coord) < 0) TEST_ERROR; /* Read from dataset */ if(H5Dread(d, H5T_NATIVE_INT, m, s, H5P_DEFAULT, rbuf) < 0) TEST_ERROR; |