]> Pileus Git - ~andy/gtk/blobdiff - gdk/win32/gdkevents-win32.c
Bug 544510 – SetTimer callback signatures has the wrong type
[~andy/gtk] / gdk / win32 / gdkevents-win32.c
index 6e3565469137b9841cec1413ded7aea2172457e2..d98f1662ee1a12486b4de3118a33524ba7ceb330 100644 (file)
@@ -2033,7 +2033,7 @@ handle_stuff_while_moving_or_resizing (void)
 static VOID CALLBACK
 modal_timer_proc (HWND     hwnd,
                  UINT     msg,
-                 UINT     id,
+                 UINT_PTR id,
                  DWORD    time)
 {
   if (_sizemove_in_progress)
@@ -2041,10 +2041,10 @@ modal_timer_proc (HWND     hwnd,
 }
 
 static VOID CALLBACK
-sync_timer_proc (HWND hwnd,
-                UINT msg,
-                UINT id,
-                DWORD time)
+sync_timer_proc (HWND     hwnd,
+                UINT     msg,
+                UINT_PTR id,
+                DWORD    time)
 {
   MSG message;
   if (PeekMessageW (&message, hwnd, WM_PAINT, WM_PAINT, PM_REMOVE))