From: helloguo Date: Tue, 28 Jul 2020 18:58:46 +0000 (-0700) Subject: Use ZSTD_copy16 instead of memcpy X-Git-Tag: v1.4.7~105^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb3dd9a68d4a18ffb6c936345c6d7f4369678fd;p=thirdparty%2Fzstd.git Use ZSTD_copy16 instead of memcpy --- diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index 557ae60d4..9fd2a6acc 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h @@ -290,7 +290,7 @@ void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e } while (op < oend); #else - memcpy(op, ip, 16); + ZSTD_copy16(op, ip); if (16 >= length) return; op += 16; ip += 16;