Skip to content
Snippets Groups Projects
Commit e872aa81 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

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: default avatarAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6115 c046a42c-6fe2-441c-8c8c-71466251a162
parent a748ab6d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment