summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-11-23 00:14:04 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-11-23 00:14:04 (GMT)
commit2ad37dbe58eb3709e5dee16ebcf345bd53680f85 (patch)
treeee23be25f03ce8cc05477821c3d1fb5718f1c78a /programs/lz4io.c
parentb3b207c4db9378f3eb3518c0778ff03a9b5cdbb3 (diff)
downloadlz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.zip
lz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.tar.gz
lz4-2ad37dbe58eb3709e5dee16ebcf345bd53680f85.tar.bz2
Corrected lz4io
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 3a84866..afaa59f 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -357,7 +357,7 @@ int LZ4IO_compressFilename_Legacy(char* input_filename, char* output_filename, i
static void* LZ4IO_LZ4_createStream (const char* inputBuffer)
{
(void)inputBuffer;
- return calloc(4, LZ4_STREAMSIZE_U32);
+ return calloc(8, LZ4_STREAMSIZE_U64);
}
static int LZ4IO_LZ4_compress_limitedOutput_continue (void* ctx, const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel)