From: Yann Collet Date: Sat, 30 Dec 2017 14:42:28 +0000 (+0100) Subject: fixed minor argument property for Visual X-Git-Tag: v1.3.4~1^2~87^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00db4dbbb345ffd4e85d0360439333ee7107277b;p=thirdparty%2Fzstd.git fixed minor argument property for Visual --- diff --git a/lib/compress/zstd_opt.c b/lib/compress/zstd_opt.c index 6af5c7111..04824ccf2 100644 --- a/lib/compress/zstd_opt.c +++ b/lib/compress/zstd_opt.c @@ -10,7 +10,6 @@ #include "zstd_compress_internal.h" #include "zstd_opt.h" -#include "zstd_lazy.h" /* ZSTD_updateTree, ZSTD_updateTree_extDict */ #define ZSTD_LITFREQ_ADD 2 /* scaling factor for litFreq, so that frequencies adapt faster to new stats. Also used for matchSum (?) */ @@ -392,13 +391,13 @@ void ZSTD_updateTree_internal(ZSTD_CCtx* zc, } void ZSTD_updateTree(ZSTD_CCtx* zc, - const BYTE* const ip, const BYTE* const iend, - const U32 nbCompares, const U32 mls) + const BYTE* ip, const BYTE* iend, + U32 nbCompares, U32 mls) { ZSTD_updateTree_internal(zc, ip, iend, nbCompares, mls, 0 /*extDict*/); } -void ZSTD_updateTree_extDict(ZSTD_CCtx* zc, +static void ZSTD_updateTree_extDict(ZSTD_CCtx* zc, const BYTE* const ip, const BYTE* const iend, const U32 nbCompares, const U32 mls) {