Remove literals overread in ZSTD_storeSeq() for ~neutral perf

This commit is contained in:
Nick Terrell
2019-09-20 12:23:25 -07:00
parent fde217df04
commit 44c65da97e
2 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ typedef enum {
* The src buffer must be before the dst buffer.
*/
MEM_STATIC FORCE_INLINE_ATTR DONT_VECTORIZE
void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e ovtype)
void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e const ovtype)
{
ptrdiff_t diff = (BYTE*)dst - (const BYTE*)src;
const BYTE* ip = (const BYTE*)src;