summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:51:32 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:51:32 (GMT)
commitda647152760c6ba0fc6a49c858e83f125dcb77e3 (patch)
tree63e415fc1f94524284a4ebb85af83dce032bcc18 /tools/lib
parent029e30704f140c0ebb248b2141a4243356cf2861 (diff)
downloadhdf5-da647152760c6ba0fc6a49c858e83f125dcb77e3.zip
hdf5-da647152760c6ba0fc6a49c858e83f125dcb77e3.tar.gz
hdf5-da647152760c6ba0fc6a49c858e83f125dcb77e3.tar.bz2
[svn-r20784] correct type of variable for blkindx, indx and jndx
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 99bd683..35d20ca 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -1401,12 +1401,12 @@ h5tools_print_region_data_blocks(hid_t region_id,
hsize_t elmtno; /* elemnt index */
unsigned int region_flags; /* buffer extent flags */
hsize_t curr_pos;
- int jndx;
- size_t indx;
+ size_t jndx;
+ int indx;
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;