diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2016-08-10 14:55:02 -0400 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-08-15 16:15:38 +0100 |
commit | dfd607671037ff46d5b16ade10e10efdf0d260be (patch) | |
tree | e7b8a0d4f9baf16fef60ac5a33bdd7d9fb623362 /fpu/softfloat-specialize.h | |
parent | 94c9cb31c04737f86be29afefbff401cd23bc24d (diff) | |
download | qemu-dfd607671037ff46d5b16ade10e10efdf0d260be.zip qemu-dfd607671037ff46d5b16ade10e10efdf0d260be.tar.gz qemu-dfd607671037ff46d5b16ade10e10efdf0d260be.tar.bz2 |
softfloat: Fix warn about implicit conversion from int to int8_t
Change the flag type to 'uint8_t' to fix the implicit conversion error.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 20160810185502.32015-1-bobby.prani@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'fpu/softfloat-specialize.h')
-rw-r--r-- | fpu/softfloat-specialize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.h index 43d0890..f5aed72 100644 --- a/fpu/softfloat-specialize.h +++ b/fpu/softfloat-specialize.h @@ -197,7 +197,7 @@ float128 float128_default_nan(float_status *status) | should be simply `float_exception_flags |= flags;'. *----------------------------------------------------------------------------*/ -void float_raise(int8_t flags, float_status *status) +void float_raise(uint8_t flags, float_status *status) { status->float_exception_flags |= flags; } |