diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-31 20:18:58 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-31 20:18:58 (GMT) |
commit | c8d32112f87e0c79999e33cc40cb411da1642b5c (patch) | |
tree | ac3d1dfffa72156bac18aefbf3b76a255ea06478 /test/pool.c | |
parent | c1a6ba6b648fe4c42dca2ada0f0e8e2c904e3f9e (diff) | |
download | hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.zip hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.tar.gz hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.tar.bz2 |
HDFFV-10845 More changes from 1.10 branch
Diffstat (limited to 'test/pool.c')
-rw-r--r-- | test/pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pool.c b/test/pool.c index 6baf0be..f26362d 100644 --- a/test/pool.c +++ b/test/pool.c @@ -669,7 +669,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; |