summaryrefslogtreecommitdiffstats
path: root/src/H5MP.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5MP.c')
-rw-r--r--src/H5MP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5MP.c b/src/H5MP.c
index dd54316..b668d0c 100644
--- a/src/H5MP.c
+++ b/src/H5MP.c
@@ -451,9 +451,9 @@ H5MP_close(H5MP_pool_t *mp)
/* Free the page appropriately */
if(page->fac_alloc)
- page = H5FL_FAC_FREE(mp->page_fac, page);
+ page = (H5MP_page_t *)H5FL_FAC_FREE(mp->page_fac, page);
else
- page = H5MM_xfree(page);
+ page = (H5MP_page_t *)H5MM_xfree(page);
page = next_page;
} /* end while */