Commit e872aa811ae24fb82451f19485682022ccf0db83

Authored by aurel32
1 parent a748ab6d

softfloat-native: fix type of float_rounding_mode

fegetround() and fesetround() are using an int type. Change the type of
float_rounding_mode and floatx80_rounding_precision in the float_status
structure for consistency.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6115 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
fpu/softfloat-native.h
... ... @@ -140,9 +140,9 @@ enum {
140 140 #endif
141 141  
142 142 typedef struct float_status {
143   - signed char float_rounding_mode;
  143 + int float_rounding_mode;
144 144 #ifdef FLOATX80
145   - signed char floatx80_rounding_precision;
  145 + int floatx80_rounding_precision;
146 146 #endif
147 147 } float_status;
148 148  
... ...