user32: Win64 lparam and wparam are longs.
This commit is contained in:
parent
87db243f0e
commit
a8ac8d7f09
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue