summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-10-20 23:12:55 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-10-20 23:12:55 (GMT)
commite450018588560537c2c4b4b2dd3515a9ef3a83f7 (patch)
tree2b1144d85ee09dcef56f81fde5a696bb0c027207 /lz4.c
parent3dab5f476a2e5a0cd4cd9a859e94a5110abda23d (diff)
downloadlz4-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lz4.c b/lz4.c
index 39f176f..8adf96a 100644..100755
--- a/lz4.c
+++ b/lz4.c
@@ -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 */
)
{