minor refactor
This commit is contained in:
parent
8195ba8f7b
commit
207f478bab
1
NEWS
1
NEWS
@ -5,6 +5,7 @@ Improved: Small compression speed improvement on 64-bits systems
|
||||
Improved: Performance on ARMv6 and ARMv7
|
||||
Added : Debianization, by Evgeniy Polyakov
|
||||
Makefile: Generates object files (*.o) for faster (re)compilation on low power systems
|
||||
New : recursive mode in benchmark, by Przemyslaw Skibinski
|
||||
Fix : cli : crash on some invalid inputs
|
||||
Fix : cli : -t correctly validates lz4-compressed files, by Nick Terrell
|
||||
Fix : better ratio on 64-bits big-endian targets
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user