summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/lib/h5tools_ref.c2
-rw-r--r--tools/misc/h5repart_gentest.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools_ref.c b/tools/lib/h5tools_ref.c
index 82dd1d0..c93d2e5 100644
--- a/tools/lib/h5tools_ref.c
+++ b/tools/lib/h5tools_ref.c
@@ -108,7 +108,7 @@ free_ref_path_info(void *item, void UNUSED *key, void UNUSED *operator_data/*in,
{
ref_path_node_t *node = (ref_path_node_t *)item;
- HDfree(node->path);
+ HDfree((void *)node->path);
HDfree(node);
return(0);
diff --git a/tools/misc/h5repart_gentest.c b/tools/misc/h5repart_gentest.c
index 913d066..df56e72 100644
--- a/tools/misc/h5repart_gentest.c
+++ b/tools/misc/h5repart_gentest.c
@@ -20,6 +20,7 @@
* for h5repart test.
*/
#include "hdf5.h"
+#include "H5private.h"
#define KB 1024
#define FAMILY_NUMBER 4