Rémi Bernon : user32/tests: Use int for wait_move_event delay type.

Alexandre Julliard julliard at winehq.org
Thu May 20 16:09:05 CDT 2021


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Thu May 20 16:36:55 2021 +0200

user32/tests: Use int for wait_move_event delay type.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/tests/msg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 7eaa2c67945..469c193c1a3 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -12523,8 +12523,9 @@ done:
 static void wait_move_event(HWND hwnd, int x, int y)
 {
     MSG msg;
-    DWORD timeout = GetTickCount() + 500, delay;
+    DWORD timeout = GetTickCount() + 500;
     BOOL ret;
+    int delay;
 
     while ((delay = timeout - GetTickCount()) > 0)
     {




More information about the wine-cvs mailing list