diff options
-rw-r--r-- | lz4_encoder.h | 4 | ||||
-rw-r--r-- | xxhash.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lz4_encoder.h b/lz4_encoder.h index 84bb591..f173148 100644 --- a/lz4_encoder.h +++ b/lz4_encoder.h @@ -256,3 +256,7 @@ _last_literals: #ifdef USE_HEAPMEMORY
#undef USE_HEAPMEMORY
#endif
+
+#ifdef COMPRESS_64K
+#undef COMPRESS_64K
+#endif
@@ -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;
|