From a910a4309f7399abe567d20bd4acb26c5ec78911 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 27 Jun 2016 01:55:42 +0200 Subject: [PATCH] x64EmitterTest: fill cpu_info with 0x01 instead of 0xFF to make gcc happier --- Source/UnitTests/Common/x64EmitterTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index 648f9cdf34..4de8bf99ad 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -85,7 +85,7 @@ class x64EmitterTest : public testing::Test protected: void SetUp() override { - memset(&cpu_info, 0xFF, sizeof(cpu_info)); + memset(&cpu_info, 0x01, sizeof(cpu_info)); emitter.reset(new X64CodeBlock()); emitter->AllocCodeSpace(4096);