diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2021-09-14 20:24:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 20:24:01 (GMT) |
commit | cd2ca91875be7d3ee98ab0131c32b9ee072509e5 (patch) | |
tree | bc73d8cd6acbe9f2f76dcbcc21374dc0b38e9908 /hl | |
parent | 7c973deaf1e602cf165a39860e574a9b5468d164 (diff) | |
download | hdf5-cd2ca91875be7d3ee98ab0131c32b9ee072509e5.zip hdf5-cd2ca91875be7d3ee98ab0131c32b9ee072509e5.tar.gz hdf5-cd2ca91875be7d3ee98ab0131c32b9ee072509e5.tar.bz2 |
Fix several warnings (#720)
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/H5LT.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c index a314f3f..0917044 100644 --- a/hl/src/H5LT.c +++ b/hl/src/H5LT.c @@ -2206,7 +2206,7 @@ realloc_and_append(hbool_t _no_user_buf, size_t *len, char *buf, const char *str */ if (size_str < *len - 1) { if (size_str + size_str_to_add < *len - 1) { - HDstrncat(buf, str_to_add, size_str_to_add); + HDstrcat(buf, str_to_add); } else { HDstrncat(buf, str_to_add, (*len - 1) - size_str); |