diff options
| author | magumagu <magumagu9@gmail.com> | 2015-03-19 10:59:22 -0700 |
|---|---|---|
| committer | magumagu <magumagu9@gmail.com> | 2015-03-19 10:59:22 -0700 |
| commit | 31add72deef4641bb421e1f5abbe796ad299b840 (patch) | |
| tree | 82404748810911aee17695385708b995dc8b7a68 /Source/Core | |
| parent | 7d800b6180510c8e3d4d894c44bb9442be21b9e0 (diff) | |
| parent | e57201eb71a05540aa8d1c7f37b377585d56d111 (diff) | |
Merge pull request #2237 from lioncash/round
x64FPURoundMode: Make a look-up table static
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/x64FPURoundMode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/x64FPURoundMode.cpp b/Source/Core/Common/x64FPURoundMode.cpp index b04579b850..5dc23e6574 100644 --- a/Source/Core/Common/x64FPURoundMode.cpp +++ b/Source/Core/Common/x64FPURoundMode.cpp @@ -18,7 +18,7 @@ namespace FPURoundMode void SetRoundMode(int mode) { // Convert PowerPC to native rounding mode. - const int rounding_mode_lut[] = { + static const int rounding_mode_lut[] = { FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD, |
