From a8ac8d7f098eef736e8d20b86cdef0868360d1ac Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Sun, 11 Jun 2006 11:06:00 +0900 Subject: [PATCH] user32: Win64 lparam and wparam are longs. --- dlls/user/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/user/message.c b/dlls/user/message.c index c92db6a5c20..d2af2bd3567 100644 --- a/dlls/user/message.c +++ b/dlls/user/message.c @@ -3356,7 +3356,7 @@ UINT_PTR WINAPI SetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc ) req->msg = WM_TIMER; req->id = id; req->rate = max( timeout, SYS_TIMER_RATE ); - req->lparam = (unsigned int)winproc; + req->lparam = (unsigned long)winproc; if (!wine_server_call_err( req )) { ret = reply->id; @@ -3387,7 +3387,7 @@ UINT_PTR WINAPI SetSystemTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC req->msg = WM_SYSTIMER; req->id = id; req->rate = max( timeout, SYS_TIMER_RATE ); - req->lparam = (unsigned int)winproc; + req->lparam = (unsigned long)winproc; if (!wine_server_call_err( req )) { ret = reply->id; -- 2.11.4.GIT