From 0a28b6eb563c7b3dac900e83e2decef1a33ccfae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 6 Dec 2017 12:24:07 +0100 Subject: [PATCH] Fix MSVC builds --- src/openrct2/util/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/util/util.c b/src/openrct2/util/util.c index 244d9a772c..78ce4f8f30 100644 --- a/src/openrct2/util/util.c +++ b/src/openrct2/util/util.c @@ -206,7 +206,7 @@ static bool bitcount_popcnt_available() { #ifdef OPENRCT2_X86 // POPCNT support is declared as the 23rd bit of ECX with CPUID(EAX = 1). - uint32 regs[4] = {}; + uint32 regs[4] = { 0 }; if (cpuid_x86(regs, 1)) { return (regs[2] & (1 << 23));