diff options
author | Yann Collet <cyan@fb.com> | 2018-04-26 22:49:32 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-04-26 22:49:32 (GMT) |
commit | 5c7d3812d90aeaf072d14f6b5d935711da6f14c7 (patch) | |
tree | ec95ac821c784c774832daf51dcd5869234e208f /lib/lz4frame.c | |
parent | 3792d00168edd060c58ceaecffb97d43dab27094 (diff) | |
download | lz4-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.c | 2 |
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 */ |