diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-18 16:57:16 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-18 16:57:16 (GMT) |
commit | d10d58c0c307bf92a3596da0e72698b8639255f6 (patch) | |
tree | 8ec9b3432d2a5aebe089276f02c5b0c2e1c5bc7d /tools/lib/h5tools_str.c | |
parent | defaf9ac4f21d9958a2c60158f26fa1a6f257147 (diff) | |
download | hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.zip hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.tar.gz hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.tar.bz2 |
[svn-r4455]
Purpose:
Warning Removal
Description:
Remove some spurious warnings from the compilation.
Platforms tested:
Linux
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 e594ebd..0e3c5c7 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -540,7 +540,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container, h5tools_str_append(str, OPT(info->fmt_double, "%g"), tempdouble); } else if (info->ascii && (H5Tequal(type, H5T_NATIVE_SCHAR) || H5Tequal(type, H5T_NATIVE_UCHAR))) { - h5tools_print_char(str, info, *ucp_vp); + h5tools_print_char(str, info, (unsigned char)(*ucp_vp)); } else if (H5T_STRING == H5Tget_class(type)) { unsigned int i; @@ -578,7 +578,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5dump_t *info, hid_t container, } /* Print the character */ - h5tools_print_char(str, info, ucp_vp[i]); + h5tools_print_char(str, info, (unsigned char)(ucp_vp[i])); /* Print the repeat count */ if (info->str_repeat && j > info->str_repeat) { |