Signed-off-by: Piotr Caban piotr@codeweavers.com --- dlls/msvcrt/math.c | 49 +++++++++++++++++++++++++------------------ dlls/msvcrt/unixlib.c | 9 -------- dlls/msvcrt/unixlib.h | 1 - 3 files changed, 29 insertions(+), 30 deletions(-)
Piotr Caban piotr@codeweavers.com writes:
Signed-off-by: Piotr Caban piotr@codeweavers.com
dlls/msvcrt/math.c | 49 +++++++++++++++++++++++++------------------ dlls/msvcrt/unixlib.c | 9 -------- dlls/msvcrt/unixlib.h | 1 - 3 files changed, 29 insertions(+), 30 deletions(-)
This is causing a bunch of warnings with clang:
../wine/dlls/msvcrt/math.c:292:38: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] if (e == 0xff) return u.i << 9 ? FP_ILOGBNAN : INT_MAX; ~~~~~~ ^~~~~~~~~~~ ../wine/include/msvcrt/math.h:252:21: note: expanded from macro 'FP_ILOGBNAN' #define FP_ILOGBNAN 0x7fffffff ^~~~~~~~~~ ../wine/dlls/msvcrt/math.c:292:52: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] if (e == 0xff) return u.i << 9 ? FP_ILOGBNAN : INT_MAX; ~~~~~~ ^~~~~~~ ../wine/include/msvcrt/limits.h:26:21: note: expanded from macro 'INT_MAX' #define INT_MAX 0x7fffffff