summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r--src/H5Gint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index 049c696..c7ac1d1 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -583,7 +583,7 @@ H5G_nameof(const H5G_t *grp)
/* Use FUNC_ENTER_NOAPI_NOINIT_NOERR here to avoid performance issues */
FUNC_ENTER_NOAPI_NOINIT_NOERR
- FUNC_LEAVE_NOAPI(grp ? &(grp->path) : NULL)
+ FUNC_LEAVE_NOAPI((H5G_name_t *)(grp ? &(grp->path) : NULL))
} /* end H5G_nameof() */