From 60c19952b7173de78f1951b488f93820465ec691 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 12 Nov 2006 21:06:19 +0100 Subject: [PATCH] winmm/tests: Fix the parameters of LPTIMECALLBACK functions. --- dlls/winmm/tests/timer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/winmm/tests/timer.c b/dlls/winmm/tests/timer.c index 4b2ebeb9c0c..309c3cea216 100644 --- a/dlls/winmm/tests/timer.c +++ b/dlls/winmm/tests/timer.c @@ -68,7 +68,8 @@ static void test_timeGetDevCaps(void) static DWORD count = 0; static DWORD times[NUM_SAMPLES]; -static void CALLBACK testTimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2) +static void CALLBACK testTimeProc(UINT uID, UINT uMsg, DWORD_PTR dwUser, + DWORD_PTR dw1, DWORD_PTR dw2) { if (count < NUM_SAMPLES) times[count++] = timeGetTime(); @@ -162,7 +163,8 @@ static const char * get_priority(int priority) static int priority = 0; static BOOL fired = FALSE; -static void CALLBACK priorityTimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2) +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() = %08lx\n", GetLastError());