From a708a0204833d9029ccdb5ea79bf0ff8326ea8cf Mon Sep 17 00:00:00 2001 From: emmanuel-marty Date: Tue, 14 May 2019 12:18:35 +0200 Subject: [PATCH] Fix compilation warning --- src/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.c b/src/lib.c index 272eed6..f5ecc2c 100755 --- a/src/lib.c +++ b/src/lib.c @@ -504,7 +504,7 @@ lzsa_status_t lzsa_decompress_stream(lzsa_stream_t *pInStream, lzsa_stream_t *pO nReadBytes -= 4; else nReadBytes = 0; - nBlockSize = nReadBytes; + nBlockSize = (unsigned int)nReadBytes; } if (nReadBytes == nBlockSize) {