diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-10-20 23:12:55 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-10-20 23:12:55 (GMT) |
commit | e450018588560537c2c4b4b2dd3515a9ef3a83f7 (patch) | |
tree | 2b1144d85ee09dcef56f81fde5a696bb0c027207 /lz4.c | |
parent | 3dab5f476a2e5a0cd4cd9a859e94a5110abda23d (diff) | |
download | lz4-e450018588560537c2c4b4b2dd3515a9ef3a83f7.zip lz4-e450018588560537c2c4b4b2dd3515a9ef3a83f7.tar.gz lz4-e450018588560537c2c4b4b2dd3515a9ef3a83f7.tar.bz2 |
LZ4 HC : fixed small dictionary streaming compression
Diffstat (limited to 'lz4.c')
-rwxr-xr-x[-rw-r--r--] | lz4.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -876,8 +876,8 @@ int LZ4_saveDict (LZ4_stream_t* LZ4_dict, char* safeBuffer, int dictSize) * in order to remove useless branches during compilation optimization. */ FORCE_INLINE int LZ4_decompress_generic( - const char* source, - char* dest, + const char* const source, + char* const dest, int inputSize, int outputSize, /* If endOnInput==endOnInputSize, this value is the max size of Output Buffer. */ @@ -885,7 +885,7 @@ FORCE_INLINE int LZ4_decompress_generic( int partialDecoding, /* full, partial */ int targetOutputSize, /* only used if partialDecoding==partial */ int dict, /* noDict, withPrefix64k, usingExtDict */ - const char* dictStart, /* only if dict==usingExtDict */ + const char* const dictStart, /* only if dict==usingExtDict */ int dictSize /* note : = 0 if noDict */ ) { |