summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index fbdb38a..23d2adf 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -518,7 +518,7 @@ h5tools_dump_simple_data(FILE *stream, const h5dump_t *info, hid_t container,
if (ctx->size_last_dim && (ctx->cur_elmt % ctx->size_last_dim) == 0)
ctx->need_prefix = TRUE;
- if (elmt_counter == ctx->size_last_dim) {
+ if ((hsize_t)elmt_counter == ctx->size_last_dim) {
ctx->need_prefix = TRUE;
elmt_counter = 0;
}