From: Erez Geva <[email protected]>
Signed-off-by: Erez Geva <[email protected]>
Signed-off-by: Erez Geva <[email protected]>
---
mingw-w64-headers/crt/math.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index 03cedde34..db66bbca5 100644
--- a/mingw-w64-headers/crt/math.h
+++ b/mingw-w64-headers/crt/math.h
@@ -495,13 +495,13 @@ __fin)))
#define fpclassify(x) \
__mingw_choose_expr ( \
__mingw_types_compatible_p (__typeof__ (x), double), \
- __fpclassify(x), \
+ __fpclassify((double)x), \
__mingw_choose_expr ( \
__mingw_types_compatible_p (__typeof__ (x), float), \
- __fpclassifyf(x), \
+ __fpclassifyf((float)x), \
__mingw_choose_expr ( \
__mingw_types_compatible_p (__typeof__ (x), long double), \
- __fpclassifyl(x), \
+ __fpclassifyl((long double)x), \
__dfp_expansion(__fpclassify,(__builtin_trap(),0),x))))
--
2.39.5
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public