From: Nick Terrell Date: Tue, 19 Nov 2019 19:12:26 +0000 (-0800) Subject: Fix Appveyor failure X-Git-Tag: v1.4.5^2~152^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1896%2Fhead;p=thirdparty%2Fzstd.git Fix Appveyor failure --- diff --git a/lib/decompress/huf_decompress.c b/lib/decompress/huf_decompress.c index fd417088c..12c1fce51 100644 --- a/lib/decompress/huf_decompress.c +++ b/lib/decompress/huf_decompress.c @@ -191,7 +191,7 @@ size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize HUF_DEltX1 D; D.byte = (BYTE)n; D.nbBits = (BYTE)(tableLog + 1 - w); - rankVal[w] = uEnd; + rankVal[w] = (U32)uEnd; if (length < 4) { /* Use length in the loop bound so the compiler knows it is short. */ for (u = 0; u < length; ++u)