From 7b08465f6135e972ebd087e68d21a186a5310cee Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Tue, 10 Nov 1998 13:19:11 -0500 Subject: [svn-r898] added an include for H5private.h and changed a uint to an uint32 --- tools/h5tools.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/h5tools.c b/tools/h5tools.c index 83915b3..30bd03e 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -15,7 +15,7 @@ #include #include #include - +#include /* * The output functions need a temporary buffer to hold a piece of the * dataset while it's being printed. This constant sets the limit on the @@ -257,7 +257,7 @@ h5dump_sprint(char *s/*out*/, const h5dump_t *info, hid_t type, void *vp) strcpy(fmt, "%"); strcat(fmt, PRINTF_LL_WIDTH); strcat(fmt, "d"); - sprintf(temp, fmt, *((long long*)vp)); + sprintf(temp, fmt, *((int64*)vp)); } } else if (H5Tequal(type, H5T_NATIVE_HSIZE)) { @@ -268,7 +268,7 @@ h5dump_sprint(char *s/*out*/, const h5dump_t *info, hid_t type, void *vp) strcpy(fmt, "%"); strcat(fmt, PRINTF_LL_WIDTH); strcat(fmt, "u"); - sprintf(temp, fmt, *((unsigned long long*)vp)); + sprintf(temp, fmt, *((uint64*)vp)); } } else if (H5T_COMPOUND==H5Tget_class(type)) { -- cgit v0.12