diff options
author | Nick Clifton <nickc@redhat.com> | 2022-04-12 16:24:10 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-04-12 16:24:10 +0100 |
commit | 8e6b35366073a1a71df805061ecf016cc915a9f9 (patch) | |
tree | 6ddbc8123ab4bdbcd3fba1a4c6e0f1091f66964e /zlib/examples/gzappend.c | |
parent | 63e0ee15a327b933a9e325908f6e5b334106290c (diff) | |
download | gdb-8e6b35366073a1a71df805061ecf016cc915a9f9.zip gdb-8e6b35366073a1a71df805061ecf016cc915a9f9.tar.gz gdb-8e6b35366073a1a71df805061ecf016cc915a9f9.tar.bz2 |
Rebase the zlib sources to the 1.2.12 release
Diffstat (limited to 'zlib/examples/gzappend.c')
-rw-r--r-- | zlib/examples/gzappend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib/examples/gzappend.c b/zlib/examples/gzappend.c index 662dec3..d7eea3e 100644 --- a/zlib/examples/gzappend.c +++ b/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; } |