more proper fix for compilation issue with some gcc versions with ares

fixes 2989a73430
This commit is contained in:
CasualPokePlayer 2022-12-16 18:53:33 -08:00
parent 2989a73430
commit 05962cfd93
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -210,7 +210,7 @@ auto CPU::checkFPUExceptions() -> bool {
#define CHECK_FPE_IMPL(type, operation, convert) ({ \
fenv.clearExcept(); \
type res = [&]() noinline { return operation; }(); \
type res = [&]() noinline { return type(operation); }(); \
if (checkFPUExceptions<convert>()) return; \
(res); \
})