fp-test: fix signature of slow_clear_flags and qemu_clear_flags
authorEmilio G. Cota <cota@braap.org>
Thu, 17 Jan 2019 18:22:12 +0000 (13:22 -0500)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 22 Jan 2019 20:48:13 +0000 (20:48 +0000)
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>
tests/fp/fp-test.c

index fca576309c4915d3120882db3cddebebc7f4ef23..2a35ef601d7ac7d193344bb27f43dfba23008c2b 100644 (file)
@@ -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);