diff options
| author | Emilio G. Cota <cota@braap.org> | 2019-01-17 13:22:12 -0500 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2019-01-22 20:48:13 +0000 |
| commit | 710fbcd2b2b11ae1f8f82ae48cadcaefd4cf48b2 (patch) | |
| tree | 7c3c5ea50a97ba0c52c1ec4e9d9c20e394c560f5 | |
| parent | 2cb0dac60acfb447f436327a96e505fa8e2eb326 (diff) | |
| download | focaccia-qemu-710fbcd2b2b11ae1f8f82ae48cadcaefd4cf48b2.tar.gz focaccia-qemu-710fbcd2b2b11ae1f8f82ae48cadcaefd4cf48b2.zip | |
fp-test: fix signature of slow_clear_flags and qemu_clear_flags
To match the type in testfloat. Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
| -rw-r--r-- | tests/fp/fp-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c index fca576309c..2a35ef601d 100644 --- a/tests/fp/fp-test.c +++ b/tests/fp/fp-test.c @@ -789,7 +789,7 @@ static int set_init_flags(const char *flags) return 0; } -static uint8_t slow_clear_flags(void) +static uint_fast8_t slow_clear_flags(void) { uint8_t prev = slowfloat_exceptionFlags; @@ -797,7 +797,7 @@ static uint8_t slow_clear_flags(void) return prev; } -static uint8_t qemu_clear_flags(void) +static uint_fast8_t qemu_clear_flags(void) { uint8_t prev = qemu_flags_to_sf(qsf.float_exception_flags); |