MSVC build fix

git-svn-id: https://svn.eduke32.com/eduke32@6945 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-07-21 00:18:18 +00:00
parent 89cfe15d64
commit f181db5776

View file

@ -34,7 +34,7 @@ static uint32_t countTrailingZeros(uint32_t u)
#if (defined __GNUC__ && __GNUC__>=3) || defined __clang__
return __builtin_ctz(u);
#elif defined _MSC_VER
uint32_t result;
DWORD result;
_BitScanForward(&result, u);
return result;
#else