From: senhuang42 Date: Wed, 28 Oct 2020 20:25:09 +0000 (-0400) Subject: Remove implicit typecast to appease appVeyor windows build X-Git-Tag: v1.4.7~39^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59624f3163b14526cf616420793a6d9c61c76e9f;p=thirdparty%2Fzstd.git Remove implicit typecast to appease appVeyor windows build --- 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++; }