Browse Source

tier1: fix undefined behavior

android
nillerusr 4 years ago
parent
commit
5e1531e093
  1. 2
      tier1/bitbuf.cpp

2
tier1/bitbuf.cpp

@ -63,7 +63,7 @@ inline unsigned int CountTrailingZeros(unsigned int elem) @@ -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);
}

Loading…
Cancel
Save