fix minor warning in legacy decoders

for mingw + clang CI test
This commit is contained in:
Yann Collet
2025-09-23 13:01:38 -07:00
parent ee9b5f4371
commit 4c1f86c777
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1094,7 +1094,7 @@ static unsigned FSE_isError(size_t code) { return ERR_isError(code); }
****************************************************************/
static short FSE_abs(short a)
{
return a<0 ? -a : a;
return a<0 ? (short)-a : a;
}
static size_t FSE_readNCount (short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr,