diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-07-30 16:46:39 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-07-30 16:46:39 (GMT) |
commit | 88aa0d5c76545eabf08be069a684fd7328eb4185 (patch) | |
tree | 1f6654046dcc7f47103dcf24e8e5fe1f50035434 /tools/lib/h5tools.c | |
parent | 2ece66e999876e78dcc8561ee2a2122e88fb14a1 (diff) | |
parent | ff4a9d0ec2e85cf15f769006e92e756a79869ab8 (diff) | |
download | hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.zip hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.tar.gz hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.tar.bz2 |
Merge pull request #2718 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ff4a9d0ec2e85cf15f769006e92e756a79869ab8':
Warnings reduction in tools
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index d9c6715..55c69a7 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1670,7 +1670,7 @@ calc_acc_pos(unsigned ndims, hsize_t elmtno, hsize_t *acc, hsize_t *pos) H5TOOLS_START_DEBUG(""); if(ndims > 0) { - for(i = 0; i < (size_t) ndims; i++) { + for(i = 0; i < (int)ndims; i++) { if(curr_pos > 0) { H5TOOLS_DEBUG("curr_pos=%ld - ctx->acc[%d]=%ld", curr_pos, i, acc[i]); pos[i] = curr_pos / acc[i]; |