Fix typo in lzsa tool

This commit is contained in:
emmanuel-marty 2019-04-10 17:38:22 +02:00
parent 8c3fc6d652
commit 2451d5802e

View File

@ -106,7 +106,7 @@ static int lzsa_compress(const char *pszInFilename, const char *pszOutFilename,
fprintf(stderr, "out of memory\n"); fprintf(stderr, "out of memory\n");
return 100; return 100;
} }
memset(pInData, 0, BLOCK_SIZE); memset(pOutData, 0, BLOCK_SIZE);
nResult = lzsa_compressor_init(&compressor, BLOCK_SIZE * 2); nResult = lzsa_compressor_init(&compressor, BLOCK_SIZE * 2);
if (nResult != 0) { if (nResult != 0) {