Dmitry Timoshkov : user32/tests:
Fix a problem revealed by compilation in 64-bit mode.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 25 14:43:26 CDT 2007
Module: wine
Branch: master
Commit: 141673c22292406bbab0b2fe269f1e13592911eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=141673c22292406bbab0b2fe269f1e13592911eb
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Thu May 24 17:15:31 2007 +0900
user32/tests: Fix a problem revealed by compilation in 64-bit mode.
---
dlls/user32/tests/win.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 632fcc1..9faca35 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -322,7 +322,7 @@ static void test_parent_owner(void)
if (0)
{
/* this test succeeds on NT but crashes on win9x systems */
- ret = (HWND)SetWindowLongA( test, GWL_HWNDPARENT, (LONG_PTR)hwndMain2 );
+ ret = (HWND)SetWindowLongPtrA( test, GWLP_HWNDPARENT, (LONG_PTR)hwndMain2 );
ok( !ret, "Set GWL_HWNDPARENT succeeded on desktop\n" );
check_parents( desktop, 0, 0, 0, 0, 0, 0 );
ok( !SetParent( desktop, hwndMain ), "SetParent succeeded on desktop\n" );
More information about the wine-cvs
mailing list