summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-04-26 22:49:32 (GMT)
committerYann Collet <cyan@fb.com>2018-04-26 22:49:32 (GMT)
commit5c7d3812d90aeaf072d14f6b5d935711da6f14c7 (patch)
treeec95ac821c784c774832daf51dcd5869234e208f /lib/lz4frame.c
parent3792d00168edd060c58ceaecffb97d43dab27094 (diff)
downloadlz4-5c7d3812d90aeaf072d14f6b5d935711da6f14c7.zip
lz4-5c7d3812d90aeaf072d14f6b5d935711da6f14c7.tar.gz
lz4-5c7d3812d90aeaf072d14f6b5d935711da6f14c7.tar.bz2
fasterDecSpeed can be triggered from cli with --favor-decSpeed
Diffstat (limited to 'lib/lz4frame.c')
-rw-r--r--lib/lz4frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c
index 06a0f7b..9d88644 100644
--- a/lib/lz4frame.c
+++ b/lib/lz4frame.c
@@ -613,7 +613,7 @@ size_t LZ4F_compressBegin_usingCDict(LZ4F_cctx* cctxPtr,
LZ4F_applyCDict(cctxPtr->lz4CtxPtr, cdict, cctxPtr->prefs.compressionLevel);
}
if (preferencesPtr->compressionLevel >= LZ4HC_CLEVEL_MIN) {
- LZ4_favorDecompressionSpeed(cctxPtr->lz4CtxPtr, preferencesPtr->favorDecSpeed);
+ LZ4_favorDecompressionSpeed(cctxPtr->lz4CtxPtr, (int)preferencesPtr->favorDecSpeed);
}
/* Magic Number */