winmm/tests: Use '%u' to print GetLastError().

Francois Gouget fgouget at free.fr
Thu Jan 18 04:37:36 CST 2007


---
 dlls/winmm/tests/timer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winmm/tests/timer.c b/dlls/winmm/tests/timer.c
index 22ce81d..7ac86b9 100644
--- a/dlls/winmm/tests/timer.c
+++ b/dlls/winmm/tests/timer.c
@@ -167,7 +167,7 @@ static void CALLBACK priorityTimeProc(UINT uID, UINT uMsg, DWORD_PTR dwUser,
                                       DWORD_PTR dw1, DWORD_PTR dw2)
 {
     priority = GetThreadPriority(GetCurrentThread());
-    ok(priority!=THREAD_PRIORITY_ERROR_RETURN, "GetThreadPriority() failed, GetLastError() = %08x\n", GetLastError());
+    ok(priority!=THREAD_PRIORITY_ERROR_RETURN, "GetThreadPriority() failed, GetLastError() = %u\n", GetLastError());
     fired = TRUE;
 }
 
-- 
1.4.4.3




More information about the wine-patches mailing list