imm32: Use SetWindowLongPtr to set a pointer.
Michael Stefaniuc
mstefani at redhat.de
Mon Feb 9 16:34:39 CST 2009
---
dlls/imm32/imm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 14178c3..bb50e5e 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -2291,7 +2291,7 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
data->imeWnd = CreateWindowExW( WS_EX_TOOLWINDOW,
data->immKbd->imeClassName, NULL, WS_POPUP, 0, 0, 1, 1, 0,
0, data->immKbd->hIME, 0);
- SetWindowLongW(data->imeWnd, IMMGWL_IMC, (LONG)data);
+ SetWindowLongPtrW(data->imeWnd, IMMGWL_IMC, (LONG_PTR)data);
IMM_GetThreadData()->hwndDefault = data->imeWnd;
}
--
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/0e7c12e7/attachment.pgp
More information about the wine-patches
mailing list