diff options
author | Yann Collet <cyan@fb.com> | 2016-11-05 02:04:32 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-05 02:04:32 (GMT) |
commit | 207f478babe676fc000e6e655c150a03a79570b0 (patch) | |
tree | fcc6567802e5a461d395e895e5ab24be3550d73a /lib/lz4.c | |
parent | 8195ba8f7bbf0153a1dc01d2ada8823a29462afa (diff) | |
download | lz4-207f478babe676fc000e6e655c150a03a79570b0.zip lz4-207f478babe676fc000e6e655c150a03a79570b0.tar.gz lz4-207f478babe676fc000e6e655c150a03a79570b0.tar.bz2 |
minor refactor
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -701,7 +701,7 @@ int LZ4_compress_fast(const char* source, char* dest, int inputSize, int maxOutp void* ctxPtr = ALLOCATOR(1, sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */ #else LZ4_stream_t ctx; - void* ctxPtr = &ctx; + void* const ctxPtr = &ctx; #endif int result = LZ4_compress_fast_extState(ctxPtr, source, dest, inputSize, maxOutputSize, acceleration); |