diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-06-06 00:45:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-06-06 00:45:37 (GMT) |
commit | dd6c8994c01cd31b5230e98838f11e4c229fdb34 (patch) | |
tree | 3b30f5bc0090c7d25ab67248422891a6a0e19a8d /test/istore.c | |
parent | 60aebe36b64de110a2a73bc66726e77fba299711 (diff) | |
download | hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.zip hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.tar.gz hdf5-dd6c8994c01cd31b5230e98838f11e4c229fdb34.tar.bz2 |
[svn-r30017] Description:
Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from
revise_chunks branch to trunk.
Tested on:
MacOSX/64 10.11.5 (amazon) w/serial, parallel & production.
(h5committest forthcoming)
Diffstat (limited to 'test/istore.c')
-rw-r--r-- | test/istore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/istore.c b/test/istore.c index ec7542a..68668d8 100644 --- a/test/istore.c +++ b/test/istore.c @@ -529,9 +529,9 @@ test_sparse(hid_t f, const char *prefix, size_t nblocks, if((mspace=H5Screate_simple(ndims,size,NULL)) < 0) TEST_ERROR; for (ctr=0; ctr<nblocks; ctr++) { - offset[0] = (hsize_t)(HDrandom() % (TEST_SPARSE_SIZE-nx)); - offset[1] = (hsize_t)(HDrandom() % (TEST_SPARSE_SIZE-ny)); - offset[2] = (hsize_t)(HDrandom() % (TEST_SPARSE_SIZE-nz)); + offset[0] = (hsize_t)(HDrandom() % (int)(TEST_SPARSE_SIZE-nx)); + offset[1] = (hsize_t)(HDrandom() % (int)(TEST_SPARSE_SIZE-ny)); + offset[2] = (hsize_t)(HDrandom() % (int)(TEST_SPARSE_SIZE-nz)); /* Select region in file dataspace */ if(H5Sselect_hyperslab(fspace,H5S_SELECT_SET,offset,NULL,size,NULL) < 0) TEST_ERROR; |