Erik de Castro Lopo : user32/tests: Use SetWindowLongPtr instead of SetWindowLong.
Alexandre Julliard
julliard at winehq.org
Fri Apr 25 08:10:57 CDT 2008
Module: wine
Branch: master
Commit: 56797f9c65e0611cccf5f3e77865a9e465583b85
URL: http://source.winehq.org/git/wine.git/?a=commit;h=56797f9c65e0611cccf5f3e77865a9e465583b85
Author: Erik de Castro Lopo <mle+win at mega-nerd.com>
Date: Fri Apr 25 17:13:39 2008 +1000
user32/tests: Use SetWindowLongPtr instead of SetWindowLong.
---
dlls/user32/tests/edit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index 9f40416..0c5a678 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1930,7 +1930,7 @@ static void test_child_edit_wmkeydown(void)
hwEdit = create_child_editcontrol(0, 0);
hwParent = GetParent(hwEdit);
- SetWindowLong(hwParent, GWL_WNDPROC, (LONG)child_edit_wmkeydown_proc);
+ SetWindowLongPtr(hwParent, GWLP_WNDPROC, (LONG_PTR)child_edit_wmkeydown_proc);
r = SendMessage(hwEdit, WM_KEYDOWN, VK_RETURN, 0x1c0001);
ok(1 == r, "expected 1, got %d\n", r);
ok(0 == child_edit_wmkeydown_num_messages, "expected 0, got %d\n", child_edit_wmkeydown_num_messages);
More information about the wine-cvs
mailing list