From f181db577667fd36a3151a233ed6ad3f1675d2c3 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 21 Jul 2018 00:18:18 +0000 Subject: [PATCH] MSVC build fix git-svn-id: https://svn.eduke32.com/eduke32@6945 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/softsurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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