aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index 026e62a..b991944 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -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;
}