summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-10 18:19:11 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-10 18:19:11 (GMT)
commit7b08465f6135e972ebd087e68d21a186a5310cee (patch)
treed24405d4aa58fcfb29f140a75f08dfb8ac9df064 /tools
parente1ae92a6bbf4bc6806d4799107d86c610a000133 (diff)
downloadhdf5-7b08465f6135e972ebd087e68d21a186a5310cee.zip
hdf5-7b08465f6135e972ebd087e68d21a186a5310cee.tar.gz
hdf5-7b08465f6135e972ebd087e68d21a186a5310cee.tar.bz2
[svn-r898] added an include for H5private.h and changed a uint to an uint32
Diffstat (limited to 'tools')
-rw-r--r--tools/h5tools.c6
1 files 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 <stdio.h>
#include <stdlib.h>
#include <string.h>
-
+#include <H5private.h>
/*
* 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)) {