diff options
author | 2008-12-20 23:41:32 +0000 | |
---|---|---|
committer | 2008-12-20 23:41:32 +0000 | |
commit | e872aa811ae24fb82451f19485682022ccf0db83 (patch) | |
tree | 5515be48a5970dfd58ee843d1bada7664f01877b /fpu | |
parent | target-ppc: modify hw/ppc_oldword.c to use qemu_ram_alloc() (diff) | |
download | qemu-kvm-e872aa811ae24fb82451f19485682022ccf0db83.tar.gz qemu-kvm-e872aa811ae24fb82451f19485682022ccf0db83.tar.bz2 qemu-kvm-e872aa811ae24fb82451f19485682022ccf0db83.zip |
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
Diffstat (limited to 'fpu')
-rw-r--r-- | fpu/softfloat-native.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index c885f1b51..cf2da4c25 100644 --- a/fpu/softfloat-native.h +++ b/fpu/softfloat-native.h @@ -140,9 +140,9 @@ enum { #endif typedef struct float_status { - signed char float_rounding_mode; + int float_rounding_mode; #ifdef FLOATX80 - signed char floatx80_rounding_precision; + int floatx80_rounding_precision; #endif } float_status; |