Mike McCormack : user32: Win64 lparam and wparam are longs.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 12 07:09:55 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: a8ac8d7f098eef736e8d20b86cdef0868360d1ac
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=a8ac8d7f098eef736e8d20b86cdef0868360d1ac

Author: Mike McCormack <mike at codeweavers.com>
Date:   Sun Jun 11 11:06:00 2006 +0900

user32: Win64 lparam and wparam are longs.

---

 dlls/user/message.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user/message.c b/dlls/user/message.c
index c92db6a..d2af2bd 100644
--- a/dlls/user/message.c
+++ b/dlls/user/message.c
@@ -3356,7 +3356,7 @@ UINT_PTR WINAPI SetTimer( HWND hwnd, UIN
         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 hwn
         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;




More information about the wine-cvs mailing list