diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-05-25 13:47:20 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-05-25 13:47:20 (GMT) |
commit | 291b107d4d56528082db5344d8783941154e8374 (patch) | |
tree | 7a44abd31b9e46d332f2c884e62f661e95b1b04f /tools/lib/h5tools_str.c | |
parent | a33859d6774f73c0bb31386eedfde2aaf222427b (diff) | |
download | hdf5-291b107d4d56528082db5344d8783941154e8374.zip hdf5-291b107d4d56528082db5344d8783941154e8374.tar.gz hdf5-291b107d4d56528082db5344d8783941154e8374.tar.bz2 |
Minor warning fixes in the tools.
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r-- | tools/lib/h5tools_str.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index b7a2c1e..fa15785 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -1000,10 +1000,11 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai case H5T_COMPOUND: if(ctx->cmpd_listv) { /* there is <list_of_fields> */ - int save_indent_level; /* The indentation level */ + unsigned save_indent_level; /* The indentation level */ size_t curr_field; /* Current field to display */ - int i = 0, x = 0; /* Local index variable */ - H5LD_memb_t **listv; /* Vector of information for <list_of_fields> */ + int i = 0; /* Local index variable */ + unsigned x = 0; /* Local index variable */ + const H5LD_memb_t * const *listv; /* Vector of information for <list_of_fields> */ listv = ctx->cmpd_listv; ctx->cmpd_listv = NULL; |