diff options
| -rw-r--r-- | tccpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -319,7 +319,7 @@ ST_FUNC void cstr_cat(CString *cstr, const char *str, int len) size = cstr->size + len; if (size > cstr->size_allocated) cstr_realloc(cstr, size); - memcpy(((unsigned char *)cstr->data) + cstr->size, str, len); + memmove(((unsigned char *)cstr->data) + cstr->size, str, len); cstr->size = size; } |
