From e0b008a00cb650dafcc32d31cf2c767c72a08383 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Mon, 7 May 2018 21:37:44 +0300 Subject: [PATCH] Fix compiler warning, closes #121 --- LZMA/LzmaCompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LZMA/LzmaCompress.c b/LZMA/LzmaCompress.c index 78c04a3..d2b5f5e 100644 --- a/LZMA/LzmaCompress.c +++ b/LZMA/LzmaCompress.c @@ -74,7 +74,7 @@ LzmaCompress( if (*DestinationSize < destLen) { - *DestinationSize = destLen; + *DestinationSize = (UINTN)destLen; return ERR_BUFFER_TOO_SMALL; }