diff options
author | Yann Collet <cyan@fb.com> | 2016-11-12 16:48:42 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-12 16:48:42 (GMT) |
commit | 3580d9698098e8ad2ef757d1c3673aceca38c576 (patch) | |
tree | 343ce78efc05511fcf83698e860937796b918788 /lib/lz4frame.c | |
parent | 874f3e095b1d64ab3545a3f2a3f7403a44ebb3bb (diff) | |
download | lz4-3580d9698098e8ad2ef757d1c3673aceca38c576.zip lz4-3580d9698098e8ad2ef757d1c3673aceca38c576.tar.gz lz4-3580d9698098e8ad2ef757d1c3673aceca38c576.tar.bz2 |
enabled deprecation warnings on remaining obsolete functions
Diffstat (limited to 'lib/lz4frame.c')
-rw-r--r-- | lib/lz4frame.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c index f2424a5..c31f82d 100644 --- a/lib/lz4frame.c +++ b/lib/lz4frame.c @@ -506,16 +506,16 @@ static size_t LZ4F_compressBlock(void* dst, const void* src, size_t srcSize, com } -static int LZ4F_localLZ4_compress_limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) +static int LZ4F_localLZ4_compress_limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level) { (void) level; - return LZ4_compress_limitedOutput_withState(ctx, src, dst, srcSize, dstSize); + return LZ4_compress_fast_extState(ctx, src, dst, srcSize, dstCapacity, 1); } -static int LZ4F_localLZ4_compress_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) +static int LZ4F_localLZ4_compress_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level) { (void) level; - return LZ4_compress_limitedOutput_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstSize); + return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, 1); } static int LZ4F_localLZ4_compressHC_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) |