Commit a8ac8d7f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

user32: Win64 lparam and wparam are longs.

parent 87db243f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment