winex11.drv: Use GetWindowLongPtr to retrieve a pointer.

Michael Stefaniuc mstefani at redhat.de
Mon Feb 9 16:34:50 CST 2009


---
 dlls/winex11.drv/ime.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/ime.c b/dlls/winex11.drv/ime.c
index 87d4faa..6d083d1 100644
--- a/dlls/winex11.drv/ime.c
+++ b/dlls/winex11.drv/ime.c
@@ -1326,7 +1326,7 @@ static LRESULT WINAPI IME_WindowProc(HWND hwnd, UINT msg, WPARAM wParam,
      * messages.
      */
 
-    hIMC = (HIMC)GetWindowLongW(hwnd,IMMGWL_IMC);
+    hIMC = (HIMC)GetWindowLongPtrW(hwnd,IMMGWL_IMC);
     if (!hIMC)
         hIMC = RealIMC(FROM_X11);
 
-- 
1.6.1.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090209/0478fb07/attachment.pgp 


More information about the wine-patches mailing list