From 4aa8ae13c261a12f00f23d4ea62bd09c4599cd73 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sat, 3 Oct 2015 21:41:10 +0000 Subject: [PATCH] [user32_apitest] 0x%lu does not mean anything correct. svn path=/trunk/; revision=69434 --- rostests/apitests/user32/SetCursorPos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rostests/apitests/user32/SetCursorPos.c b/rostests/apitests/user32/SetCursorPos.c index b93deb16da4..052e300e520 100644 --- a/rostests/apitests/user32/SetCursorPos.c +++ b/rostests/apitests/user32/SetCursorPos.c @@ -180,13 +180,13 @@ void Test_DesktopAccess() ret = GetCursorPos(&curPoint); ok(ret == FALSE, "GetCursorPos should fail\n"); - ok(GetLastError() == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED got 0x%lu\n", GetLastError()); + ok(GetLastError() == ERROR_ACCESS_DENIED, "Expected ERROR_ACCESS_DENIED got 0x%lx\n", GetLastError()); SetLastError(0xdeadbeef); ret = SetCursorPos(2,2); ok(ret == FALSE, "SetCursorPos should fail\n"); - ok(GetLastError() == 0xdeadbeef, "Wrong last error, got 0x%lu\n", GetLastError()); + ok(GetLastError() == 0xdeadbeef, "Wrong last error, got 0x%lx\n", GetLastError()); ret = GetCursorPos(&curPoint); ok(ret == FALSE, "GetCursorPos should fail\n"); @@ -202,4 +202,4 @@ START_TEST(SetCursorPos) { Test_DesktopAccess(); Test_SetCursorPos(); -} \ No newline at end of file +}