summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index c9cb00f..c08c030 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -52,7 +52,11 @@ static h5tool_format_t h5tools_dataformat = {
"", /*fmt_raw */
"%d", /*fmt_int */
"%u", /*fmt_uint */
-"%hhd", /*fmt_schar */
+#ifdef H5_VMS
+"%hd",/*fmt_schar */
+#else
+"%hhd",/*fmt_schar */
+#endif
"%u", /*fmt_uchar */
"%d", /*fmt_short */
"%u", /*fmt_ushort */