diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-05-09 21:50:35 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-05-09 21:50:35 (GMT) |
commit | 3b06122b508e27c01e5c08bbb7369f4bd1e79acb (patch) | |
tree | 82e374d1d580008baa4c5754bb4925aeae8537b1 /tools/lib | |
parent | 8e30e8da7b114e096605e1352a9fd1b1db85715b (diff) | |
download | hdf5-3b06122b508e27c01e5c08bbb7369f4bd1e79acb.zip hdf5-3b06122b508e27c01e5c08bbb7369f4bd1e79acb.tar.gz hdf5-3b06122b508e27c01e5c08bbb7369f4bd1e79acb.tar.bz2 |
[svn-r20783] correct type of variable for blkindx
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 4061daa..35d20ca 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1406,7 +1406,7 @@ h5tools_print_region_data_blocks(hid_t region_id, int type_size; hid_t mem_space = -1; void *region_buf = NULL; - int blkndx; + hsize_t blkndx; hid_t sid1 = -1; int ret_value = SUCCEED; h5tools_context_t ctx; @@ -1502,7 +1502,7 @@ h5tools_print_region_data_blocks(hid_t region_id, if(FALSE == dimension_break) elmtno = 0; - } /* end for (indx = 0; indx < numelem; indx++, region_elmtno++, ctx.cur_elmt++) */ + } /* end for (jndx = 0; jndx < numelem; jndx++, region_elmtno++, ctx.cur_elmt++) */ ctx.indent_level--; } /* end for (blkndx = 0; blkndx < nblocks; blkndx++) */ @@ -1745,8 +1745,8 @@ h5tools_print_region_data_points(hid_t region_space, hid_t region_id, unsigned int region_flags; /* buffer extent flags */ hsize_t curr_pos; hsize_t total_size[H5S_MAX_RANK]; - size_t indx; - int jndx; + int indx; + size_t jndx; int type_size; hid_t mem_space = -1; void *region_buf = NULL; |