[PATCH] shell32/tests: Use explicit NULL instead of 0

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Mon Apr 6 15:53:22 CDT 2020


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 dlls/shell32/tests/appbar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index 229d616..07db4f4 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -128,7 +128,7 @@ static void do_events_until(boolean_function test)
     UINT_PTR timerid;
     BOOL timedout=FALSE;
 
-    timerid = SetTimer(0, 0, 3000, NULL);
+    timerid = SetTimer(NULL, 0, 3000, NULL);
 
     while (1)
     {
@@ -144,7 +144,7 @@ static void do_events_until(boolean_function test)
         WaitMessage();
     }
 
-    KillTimer(0, timerid);
+    KillTimer(NULL, timerid);
 }
 
 /* process any pending messages */
-- 
2.10.0.windows.1




More information about the wine-devel mailing list