tier1: fix undefined behavior

This commit is contained in:
nillerusr 2020-11-18 23:03:50 +03:00
parent 7bb2dbdb1e
commit 5e1531e093

View File

@ -63,7 +63,7 @@ inline unsigned int CountTrailingZeros(unsigned int elem)
static BitBufErrorHandler g_BitBufErrorHandler = 0;
inline int BitForBitnum(int bitnum)
inline unsigned int BitForBitnum(int bitnum)
{
return GetBitForBitnum(bitnum);
}