diff options
author | Yann Collet <cyan@fb.com> | 2020-11-07 18:06:52 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-11-07 18:06:52 (GMT) |
commit | d4bfcf8489becbba084bceb0ddc74dc7c945cdde (patch) | |
tree | 3fad64eac25e80aaa9e0c7c8643c85182c61b600 /lib/lz4hc.c | |
parent | 80d3f32904ef447858aca2ecb7045805af23f8f6 (diff) | |
download | lz4-d4bfcf8489becbba084bceb0ddc74dc7c945cdde.zip lz4-d4bfcf8489becbba084bceb0ddc74dc7c945cdde.tar.gz lz4-d4bfcf8489becbba084bceb0ddc74dc7c945cdde.tar.bz2 |
fix #935
minor: identical declaration and prototypes of `LZ4HC_compress_optimal()`
also :
very minor optimization of `LZ4_memcpy_using_offset()`
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r-- | lib/lz4hc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c index 15bedec..85121d4 100644 --- a/lib/lz4hc.c +++ b/lib/lz4hc.c @@ -789,7 +789,7 @@ static int LZ4HC_compress_optimal( LZ4HC_CCtx_internal* ctx, int const nbSearches, size_t sufficient_len, const limitedOutput_directive limit, int const fullUpdate, const dictCtx_directive dict, - HCfavor_e favorDecSpeed); + const HCfavor_e favorDecSpeed); LZ4_FORCE_INLINE int LZ4HC_compress_generic_internal ( |