Skip to content

Commit

Permalink
softfloat-native: fix type of float_rounding_mode
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aurel32 committed Dec 20, 2008
1 parent a748ab6 commit e872aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fpu/softfloat-native.h
Expand Up @@ -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;

Expand Down

0 comments on commit e872aa8

Please sign in to comment.