Common: Fix CountTrailingZeros for weird compilers

This commit is contained in:
TellowKrinkle 2022-06-06 21:03:28 -05:00
parent 38cb76dea5
commit 3d34a20105

View File

@ -457,7 +457,7 @@ constexpr int CountTrailingZeros(uint32_t value)
return _BitScanForward(&index, value) ? index : 32;
}
#else
return CountLeadingZerosConst(value);
return CountTrailingZerosConst(value);
#endif
}