diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2004-03-08 20:09:52 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2004-03-08 20:09:52 (GMT) |
commit | 6f0be2df0d0f1fe7007f4db9266daf1b58687b76 (patch) | |
tree | bfc2a18b7d1386a16abc3da7a87e7ed54f3ccc28 /test/th5s.c | |
parent | 73b756fe338375160353fd9c00f36aaa3f6cbf75 (diff) | |
download | hdf5-6f0be2df0d0f1fe7007f4db9266daf1b58687b76.zip hdf5-6f0be2df0d0f1fe7007f4db9266daf1b58687b76.tar.gz hdf5-6f0be2df0d0f1fe7007f4db9266daf1b58687b76.tar.bz2 |
[svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)
Description: Wrong datatype was used to calculate the size of data buffer
Solution: Used correct the datatype
Platforms tested: partially h5comittested (sol and verbena);
tested manually for sequential version on copper
Misc. update:
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/th5s.c b/test/th5s.c index 2f8a19a..570583a 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -112,7 +112,7 @@ test_h5s_basic(void) rank = H5Sget_simple_extent_dims(sid1, tdims, NULL); CHECK(rank, FAIL, "H5Sget_simple_extent_dims"); - VERIFY(HDmemcmp(tdims, dims1, SPACE1_RANK * sizeof(unsigned)), 0, + VERIFY(HDmemcmp(tdims, dims1, SPACE1_RANK * sizeof(hsize_t)), 0, "H5Sget_simple_extent_dims"); sid2 = H5Screate_simple(SPACE2_RANK, dims2, max2); @@ -129,9 +129,9 @@ test_h5s_basic(void) rank = H5Sget_simple_extent_dims(sid2, tdims, tmax); CHECK(rank, FAIL, "H5Sget_simple_extent_dims"); - VERIFY(HDmemcmp(tdims, dims2, SPACE2_RANK * sizeof(unsigned)), 0, + VERIFY(HDmemcmp(tdims, dims2, SPACE2_RANK * sizeof(hsize_t)), 0, "H5Sget_simple_extent_dims"); - VERIFY(HDmemcmp(tmax, max2, SPACE2_RANK * sizeof(unsigned)), 0, + VERIFY(HDmemcmp(tmax, max2, SPACE2_RANK * sizeof(hsize_t)), 0, "H5Sget_simple_extent_dims"); ret = H5Sclose(sid1); |