From 2451d5802ef749a6bcecb540927df6d9db58deae Mon Sep 17 00:00:00 2001 From: emmanuel-marty Date: Wed, 10 Apr 2019 17:38:22 +0200 Subject: [PATCH] Fix typo in lzsa tool --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 6d82866..c015762 100755 --- a/src/main.c +++ b/src/main.c @@ -106,7 +106,7 @@ static int lzsa_compress(const char *pszInFilename, const char *pszOutFilename, fprintf(stderr, "out of memory\n"); return 100; } - memset(pInData, 0, BLOCK_SIZE); + memset(pOutData, 0, BLOCK_SIZE); nResult = lzsa_compressor_init(&compressor, BLOCK_SIZE * 2); if (nResult != 0) {