diff --git a/source/build/src/softsurface.cpp b/source/build/src/softsurface.cpp index 4d1487803..fdb96f73b 100644 --- a/source/build/src/softsurface.cpp +++ b/source/build/src/softsurface.cpp @@ -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