summaryrefslogtreecommitdiffstats
path: root/src/H5Olink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Olink.c')
-rw-r--r--src/H5Olink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c
index ed65ee7..0438bb7 100644
--- a/src/H5Olink.c
+++ b/src/H5Olink.c
@@ -440,7 +440,7 @@ done:
if(NULL == ret_value)
if(dest) {
if(dest->name && dest->name != lnk->name)
- dest->name = H5MM_xfree(dest->name);
+ dest->name = (char *)H5MM_xfree(dest->name);
if(NULL == _dest)
dest = H5FL_FREE(H5O_link_t ,dest);
} /* end if */