user32: Win64 lparam and wparam are longs.

This commit is contained in:
Mike McCormack 2006-06-11 11:06:00 +09:00 committed by Alexandre Julliard
parent 87db243f0e
commit a8ac8d7f09
1 changed files with 2 additions and 2 deletions

View File

@ -3356,7 +3356,7 @@ UINT_PTR WINAPI SetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc )
req->msg = WM_TIMER; req->msg = WM_TIMER;
req->id = id; req->id = id;
req->rate = max( timeout, SYS_TIMER_RATE ); req->rate = max( timeout, SYS_TIMER_RATE );
req->lparam = (unsigned int)winproc; req->lparam = (unsigned long)winproc;
if (!wine_server_call_err( req )) if (!wine_server_call_err( req ))
{ {
ret = reply->id; ret = reply->id;
@ -3387,7 +3387,7 @@ UINT_PTR WINAPI SetSystemTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC
req->msg = WM_SYSTIMER; req->msg = WM_SYSTIMER;
req->id = id; req->id = id;
req->rate = max( timeout, SYS_TIMER_RATE ); req->rate = max( timeout, SYS_TIMER_RATE );
req->lparam = (unsigned int)winproc; req->lparam = (unsigned long)winproc;
if (!wine_server_call_err( req )) if (!wine_server_call_err( req ))
{ {
ret = reply->id; ret = reply->id;