Eric Pouech : msvcrt: Use correct integral type in _except1.

Alexandre Julliard julliard at winehq.org
Fri Feb 4 16:08:36 CST 2022


Module: wine
Branch: master
Commit: 948f465da76b40dfc0cdc5124168a28fd33c2402
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=948f465da76b40dfc0cdc5124168a28fd33c2402

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri Feb  4 09:49:47 2022 +0100

msvcrt: Use correct integral type in _except1.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/math.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index b13a4e03fd1..33afe8d1d90 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -10314,7 +10314,7 @@ double CDECL _except1(DWORD fpe, _FP_OPERATION_CODE op, double arg, double res,
 {
     ULONG_PTR exception_arg;
     DWORD exception = 0;
-    DWORD fpword = 0;
+    unsigned int fpword = 0;
     WORD operation;
     int raise = 0;
 




More information about the wine-cvs mailing list