diff options
author | 2022-04-14 10:39:41 +1000 | |
---|---|---|
committer | 2022-04-14 10:39:41 +1000 | |
commit | 6fa1f03bf0aa00885699da44828a68b4881fd64b (patch) | |
tree | 64359def73a4113c2317bf39dfbc73397b712b4d /3rdparty/zlib/examples/gzappend.c | |
parent | 23904ffeebcd91310715045ab39f24390799edf3 (diff) |
3rdparty: Updated zlib to version 1.2.12.
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; } |