]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Remove implicit typecast to appease appVeyor windows build
authorsenhuang42 <senhuang96@fb.com>
Wed, 28 Oct 2020 20:25:09 +0000 (16:25 -0400)
committersenhuang42 <senhuang96@fb.com>
Wed, 28 Oct 2020 20:25:09 +0000 (16:25 -0400)
lib/compress/zstd_compress.c

index 5cd243a691e0c9e8c5effff3068f312db2b2968b..93bfed4da4c7681fa06044174f01d58290bb9c2a 100644 (file)
@@ -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++;
     }