From 1724345e6070fd3c7dfa4e03156f2afe8ecc80cd Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 4 Dec 2009 11:55:45 -0600 Subject: [PATCH] shell32: Fix a test failure on 64-bit systems. We currently memset an hwnd to 0xcc and expect it to be 4 bytes of 0xcc, even though on 64-bit systems the value is 8 bytes in size. --- dlls/shell32/tests/appbar.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c index 5e5dfaf..ac44cab 100644 --- a/dlls/shell32/tests/appbar.c +++ b/dlls/shell32/tests/appbar.c @@ -420,7 +420,8 @@ static void test_appbarget(void) ret = SHAppBarMessage(ABM_GETTASKBARPOS, &abd); if(ret) { - ok(abd.hWnd == (HWND)0xcccccccc, "hWnd overwritten\n"); + ok(abd.hWnd == unset_hwnd, "hWnd overwritten, got %p, expected %p\n", + abd.hWnd, unset_hwnd); ok(abd.uEdge <= ABE_BOTTOM || broken(abd.uEdge == 0xcccccccc), /* Some Win95 and NT4 */ "uEdge not returned\n"); -- 1.6.3.3