mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
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>
This commit is contained in:
parent
2cb0dac60a
commit
710fbcd2b2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user