diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2013-10-10 21:57:04 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2013-10-10 21:57:04 (GMT) |
commit | 06aa7b6641ec24acfc9810f50d06b526a0eeef7d (patch) | |
tree | 7d731da908173b6d4d027d1e006ff4d325448758 /tools/lib/h5tools_str.c | |
parent | 52412564af8656ac8871f5e5b1f3493453e2c4db (diff) | |
download | hdf5-06aa7b6641ec24acfc9810f50d06b526a0eeef7d.zip hdf5-06aa7b6641ec24acfc9810f50d06b526a0eeef7d.tar.gz hdf5-06aa7b6641ec24acfc9810f50d06b526a0eeef7d.tar.bz2 |
[svn-r24285] Eliminate several "passing argument ... with different width due to prototype" warnings by casting constants to size_t where expected by string functions.
Tested on jam, koala,ostrich and platypus with h5committest.
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r-- | tools/lib/h5tools_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 9bacd19..34142d4 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -352,7 +352,7 @@ h5tools_str_prefix(h5tools_str_t *str/*in,out*/, const h5tool_format_t *info, } /* Add prefix and suffix to the index */ - return h5tools_str_fmt(str, 0, OPT(info->idx_fmt, "%s: ")); + return h5tools_str_fmt(str, (size_t)0, OPT(info->idx_fmt, "%s: ")); } /*------------------------------------------------------------------------- @@ -412,7 +412,7 @@ h5tools_str_region_prefix(h5tools_str_t *str, const h5tool_format_t *info, } /* Add prefix and suffix to the index */ - return h5tools_str_fmt(str, 0, OPT(info->idx_fmt, "%s: ")); + return h5tools_str_fmt(str, (size_t)0, OPT(info->idx_fmt, "%s: ")); } /*------------------------------------------------------------------------- |