summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index e7b4cd3..921fe27 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -1116,7 +1116,7 @@ H5F_dest(H5F_t *f, hid_t dxpl_id)
f->shared->mtab.nalloc = 0;
/* Free root group symbol table entry, if any */
- f->shared->root_ent = H5MM_xfree(f->shared->root_ent);
+ f->shared->root_ent = (H5G_entry_t *)H5MM_xfree(f->shared->root_ent);
/* Destroy shared file struct */
f->shared = (H5F_file_t *)H5FL_FREE(H5F_file_t, f->shared);