From 912a1b25b2efb981d2a49566086013e5a624f2b9 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; }