Mercurial > emacs
changeset 74220:ae3e88b9ef1b
(w32_msg_worker): Declare correctly.
(w32_initialize): Don't cast w32_msg_worker.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 27 Nov 2006 10:00:28 +0000 |
parents | 17035f329fd3 |
children | 3146bd0e5646 |
files | src/w32term.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Mon Nov 27 10:00:07 2006 +0000 +++ b/src/w32term.c Mon Nov 27 10:00:28 2006 +0000 @@ -6282,7 +6282,7 @@ /* Set up use of W32. */ -DWORD w32_msg_worker (); +DWORD WINAPI w32_msg_worker (void * arg); void x_flush (struct frame * f) @@ -6387,8 +6387,8 @@ PeekMessage (&msg, NULL, 0, 0, PM_NOREMOVE); hWindowsThread = CreateThread (NULL, 0, - (LPTHREAD_START_ROUTINE) w32_msg_worker, - 0, 0, &dwWindowsThreadId); + w32_msg_worker, + 0, 0, &dwWindowsThreadId); GetMessage (&msg, NULL, WM_EMACS_DONE, WM_EMACS_DONE); }