aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2006-11-27 10:00:28 +0000
committerJason Rumney2006-11-27 10:00:28 +0000
commitb0d4e0c74ab71b37689eadf3ba81de9cf63b5283 (patch)
treed3a906d2b372b71441b9d174f8a114e0fe1d881f
parent7e993c06a98841c3b83004e950469e87f42c55d1 (diff)
downloademacs-b0d4e0c74ab71b37689eadf3ba81de9cf63b5283.tar.gz
emacs-b0d4e0c74ab71b37689eadf3ba81de9cf63b5283.zip
(w32_msg_worker): Declare correctly.
(w32_initialize): Don't cast w32_msg_worker.
-rw-r--r--src/w32term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 13167385234..985d77570e4 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6282,7 +6282,7 @@ x_delete_display (dpyinfo)
6282 6282
6283/* Set up use of W32. */ 6283/* Set up use of W32. */
6284 6284
6285DWORD w32_msg_worker (); 6285DWORD WINAPI w32_msg_worker (void * arg);
6286 6286
6287void 6287void
6288x_flush (struct frame * f) 6288x_flush (struct frame * f)
@@ -6387,8 +6387,8 @@ w32_initialize ()
6387 PeekMessage (&msg, NULL, 0, 0, PM_NOREMOVE); 6387 PeekMessage (&msg, NULL, 0, 0, PM_NOREMOVE);
6388 6388
6389 hWindowsThread = CreateThread (NULL, 0, 6389 hWindowsThread = CreateThread (NULL, 0,
6390 (LPTHREAD_START_ROUTINE) w32_msg_worker, 6390 w32_msg_worker,
6391 0, 0, &dwWindowsThreadId); 6391 0, 0, &dwWindowsThreadId);
6392 6392
6393 GetMessage (&msg, NULL, WM_EMACS_DONE, WM_EMACS_DONE); 6393 GetMessage (&msg, NULL, WM_EMACS_DONE, WM_EMACS_DONE);
6394 } 6394 }