From 59624f3163b14526cf616420793a6d9c61c76e9f Mon Sep 17 00:00:00 2001 From: senhuang42 Date: Wed, 28 Oct 2020 16:25:09 -0400 Subject: [PATCH] Remove implicit typecast to appease appVeyor windows build --- lib/compress/zstd_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 5cd243a69..93bfed4da 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -2493,7 +2493,7 @@ static void ZSTD_copyBlockSequences(ZSTD_CCtx* zc) assert(seqStoreLiteralsSize >= literalsRead); lastLLSize = seqStoreLiteralsSize - literalsRead; if (lastLLSize > 0) { - outSeqs[i].litLength = lastLLSize; + outSeqs[i].litLength = (U32)lastLLSize; outSeqs[i].matchLength = outSeqs[i].offset = outSeqs[i].rep = 0; seqStoreSeqSize++; }