summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-01-31 07:01:50 (GMT)
committerYann Collet <cyan@fb.com>2022-01-31 07:02:55 (GMT)
commit379c1a10cad71b004a4fa95a482c47ca0fa18835 (patch)
tree8631048d0ebce2e10665c1b0cd426eea8e2571ba /lib/lz4.c
parent756693083a0ac4c176101ca021809fe15d3a69ee (diff)
downloadlz4-379c1a10cad71b004a4fa95a482c47ca0fa18835.zip
lz4-379c1a10cad71b004a4fa95a482c47ca0fa18835.tar.gz
lz4-379c1a10cad71b004a4fa95a482c47ca0fa18835.tar.bz2
Introduce MIN and MAX bounds to LZ4_MEMORY_USAGE
ensure that `frametest` works fine with these values, notably with low LZ4_MEMORY_USAGE (dict test notably) following suggestions from @t-mat at #1016
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index 95bd349..a2272cf 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -867,7 +867,7 @@ LZ4_FORCE_INLINE int LZ4_compress_generic_validated(
const char* const source,
char* const dest,
const int inputSize,
- int *inputConsumed, /* only written when outputDirective == fillOutput */
+ int* inputConsumed, /* only written when outputDirective == fillOutput */
const int maxOutputSize,
const limitedOutput_directive outputDirective,
const tableType_t tableType,