From: Yann Collet Date: Wed, 8 Jan 2025 07:45:15 +0000 (-0800) Subject: fix minor conversion warning X-Git-Tag: v1.5.7^2~36^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aaf9cefe9bdda1fafb5f6a5ba13294d2b478bd7;p=thirdparty%2Fzstd.git fix minor conversion warning --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 8e49169b1..19fb584fb 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -7157,15 +7157,15 @@ size_t convertSequences_noRepcodes( 0, 1, 2, 3, /* offset+2 */ 4, 5, /* litLength (16 bits) */ 8, 9, /* matchLength (16 bits) */ - (char)0x80, (char)0x80, (char)0x80, (char)0x80, - (char)0x80, (char)0x80, (char)0x80, (char)0x80, + (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, + (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, /* For the upper 128 bits => sequence i+1 */ 16,17,18,19, /* offset+2 */ 20,21, /* litLength */ 24,25, /* matchLength */ - (char)0x80, (char)0x80, (char)0x80, (char)0x80, - (char)0x80, (char)0x80, (char)0x80, (char)0x80 + (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, + (BYTE)0x80, (BYTE)0x80, (BYTE)0x80, (BYTE)0x80 ); /*