diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2016-06-27 01:55:42 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2016-06-27 01:55:42 +0200 |
| commit | a910a4309f7399abe567d20bd4acb26c5ec78911 (patch) | |
| tree | 44e83281639bd2805614175e860b997d8c723a13 /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | 64cf74abb4158ffabe8b5dce3c1a4d42a82b054f (diff) | |
x64EmitterTest: fill cpu_info with 0x01 instead of 0xFF to make gcc happier
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/x64EmitterTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
