summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/h5ls.c1
-rw-r--r--tools/misc/h5debug.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index 5cd92cd..1ed03ff 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -14,6 +14,7 @@
*/
#include "H5private.h"
#include "h5tools.h"
+#include "h5tools_utils.h"
/*
* If defined then include the file name as part of the object name when
diff --git a/tools/misc/h5debug.c b/tools/misc/h5debug.c
index 8832369..67851ef 100644
--- a/tools/misc/h5debug.c
+++ b/tools/misc/h5debug.c
@@ -96,7 +96,7 @@ main(int argc, char *argv[])
* Read the signature at the specified file position.
*/
HDfprintf(stdout, "Reading signature at address %a (rel)\n", addr);
- if (H5F_block_read(f, H5FD_MEM_SUPER, addr, (hsize_t)sizeof(sig), H5P_DEFAULT, sig)<0) {
+ if (H5F_block_read(f, H5FD_MEM_SUPER, addr, sizeof(sig), H5P_DEFAULT, sig)<0) {
fprintf(stderr, "cannot read signature\n");
HDexit(3);
}