From: Sen Huang Date: Wed, 16 Oct 2019 19:06:02 +0000 (-0400) Subject: Changed to int from BYTE X-Git-Tag: v1.4.4~1^2~15^2~5^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9294f4826b3bbcd1581574af859cb0678d60c7a1;p=thirdparty%2Fzstd.git Changed to int from BYTE --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 2daa588f1..634a0f857 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -3267,7 +3267,7 @@ ZSTD_CDict* ZSTD_createCDict(const void* dict, size_t dictSize, int compressionL ZSTD_dlm_byCopy, ZSTD_dct_auto, cParams, ZSTD_defaultCMem); if (cdict) - cdict->compressionLevel = compressionLevel == 0 ? (BYTE)ZSTD_CLEVEL_DEFAULT : (BYTE)compressionLevel; + cdict->compressionLevel = compressionLevel == 0 ? ZSTD_CLEVEL_DEFAULT : compressionLevel; return cdict; }