summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.c2
-rw-r--r--tools/lib/h5tools_str.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index e678a4f..5baac5f 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -901,7 +901,7 @@ h5tools_dump_simple_dset(FILE *stream, const h5tool_format_t *info, hid_t dset,
{
hid_t f_space; /* file data space */
hsize_t elmtno; /* counter */
- hsize_t i; /* counter */
+ size_t i; /* counter */
int carry; /* counter carry value */
hsize_t zero[8]; /* vector of zeros */
unsigned int flags; /* buffer extent flags */
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index 9879ac4..2805bd9 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -316,7 +316,7 @@ h5tools_str_prefix(h5tools_str_t *str/*in,out*/, const h5tool_format_t *info,
hsize_t max_idx[], h5tools_context_t *ctx)
{
hsize_t p_prod[H5S_MAX_RANK];
- hsize_t i = 0;
+ size_t i = 0;
hsize_t curr_pos=elmtno;
h5tools_str_reset(str);