summaryrefslogtreecommitdiffstats
path: root/test/pool.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-06-06 00:45:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-06-06 00:45:37 (GMT)
commitdd6c8994c01cd31b5230e98838f11e4c229fdb34 (patch)
tree3b30f5bc0090c7d25ab67248422891a6a0e19a8d /test/pool.c
parent60aebe36b64de110a2a73bc66726e77fba299711 (diff)
downloadhdf5-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/pool.c')
-rw-r--r--test/pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pool.c b/test/pool.c
index 83c862b..7d80096 100644
--- a/test/pool.c
+++ b/test/pool.c
@@ -671,7 +671,7 @@ HDfprintf(stderr,"curr_time=%lu\n",(unsigned long)curr_time);
/* Shuffle pointers to free */
for(u = 0; u < MPOOL_NUM_RANDOM; u++) {
- swap_idx = (size_t)(HDrandom() % (MPOOL_NUM_RANDOM - u)) + u;
+ swap_idx = (size_t)(HDrandom() % (int)(MPOOL_NUM_RANDOM - u)) + u;
swap_ptr = spc[u];
spc[u] = spc[swap_idx];
spc[swap_idx] = swap_ptr;