summaryrefslogtreecommitdiffstats
path: root/xxhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxhash.c')
-rw-r--r--xxhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxhash.c b/xxhash.c
index 914421f..bb5c87d 100644
--- a/xxhash.c
+++ b/xxhash.c
@@ -215,7 +215,7 @@ forceinline U32 XXH32_endian_align(const void* input, int len, U32 seed, XXH_end
if (len>=16)
{
- const BYTE* const limit = bEnd - 32;
+ const BYTE* const limit = bEnd - 16;
U32 v1 = seed + PRIME32_1 + PRIME32_2;
U32 v2 = seed + PRIME32_2;
U32 v3 = seed + 0;