summaryrefslogtreecommitdiffstats
path: root/src/H5Gname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gname.c')
-rw-r--r--src/H5Gname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gname.c b/src/H5Gname.c
index dab86b3..b5d0daf 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -308,7 +308,7 @@ H5G_build_fullpath(const char *prefix, const char *name)
/* Build full path */
HDstrncpy(full_path, prefix, orig_path_len + 1);
if (need_sep)
- HDstrncat(full_path, "/", (size_t)1);
+ HDstrcat(full_path, "/");
HDstrncat(full_path, name, name_len);
/* Create reference counted string for path */