diff options
Diffstat (limited to '3rdparty/zlib/examples/gzappend.c')
-rw-r--r-- | 3rdparty/zlib/examples/gzappend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/zlib/examples/gzappend.c b/3rdparty/zlib/examples/gzappend.c index 662dec3794b..d7eea3e97a5 100644 --- a/3rdparty/zlib/examples/gzappend.c +++ b/3rdparty/zlib/examples/gzappend.c @@ -137,7 +137,7 @@ local void rotate(unsigned char *list, unsigned len, unsigned rot) /* do simple left shift by one */ if (rot == 1) { tmp = *list; - memcpy(list, list + 1, len - 1); + memmove(list, list + 1, len - 1); *last = tmp; return; } |