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 cc8eaf4..c2b50c5 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -307,7 +307,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 */