From d05e205a241f7673659f38ff75fcbf7ef6419712 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 9 Mar 2014 15:21:50 +0100 Subject: FPURoundMode: revert use of enums in bit-fields The workaround of using fixed underlying types produces lots of warnings in GCC because now the bit-fields are too small for the value range used for conversion semantics. --- Source/Core/Common/GenericFPURoundMode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/GenericFPURoundMode.cpp') diff --git a/Source/Core/Common/GenericFPURoundMode.cpp b/Source/Core/Common/GenericFPURoundMode.cpp index 61343514a5..a1a9e6acd2 100644 --- a/Source/Core/Common/GenericFPURoundMode.cpp +++ b/Source/Core/Common/GenericFPURoundMode.cpp @@ -21,13 +21,13 @@ // Generic, do nothing namespace FPURoundMode { - void SetRoundMode(RoundModes mode) + void SetRoundMode(int mode) { } - void SetPrecisionMode(PrecisionModes mode) + void SetPrecisionMode(PrecisionMode mode) { } - void SetSIMDMode(RoundModes rounding_mode, bool non_ieee_mode) + void SetSIMDMode(int rounding_mode, bool non_ieee_mode) { } void SaveSIMDState() -- cgit v1.2.3