diff options
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 832d91f..30f9e7a 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -45,7 +45,11 @@ static h5tool_format_t ls_dataformat = { "", /*fmt_raw */ "%d", /*fmt_int */ "%u", /*fmt_uint */ +#ifdef H5_VMS + "%hd", /*fmt_schar */ +#else "%hhd", /*fmt_schar */ +#endif "%u", /*fmt_uchar */ "%d", /*fmt_short */ "%u", /*fmt_ushort */ |