From e0d6daabac8faf777a9c41877efb3bb5c0e30203 Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Tue, 19 Nov 2019 11:12:26 -0800 Subject: [PATCH] Fix Appveyor failure --- lib/decompress/huf_decompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2