From 193c837989d6988d7b3f6a8096ac7f80978764c1 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 17 Oct 2013 11:45:46 +0900 Subject: [PATCH] kernel32/tests: Fix time tests compilation with __WINESRC__ defined. --- dlls/kernel32/tests/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/tests/time.c b/dlls/kernel32/tests/time.c index 2f7118462a5..0cc4485cbbe 100644 --- a/dlls/kernel32/tests/time.c +++ b/dlls/kernel32/tests/time.c @@ -720,7 +720,7 @@ static void test_GetCalendarInfo(void) START_TEST(time) { - HMODULE hKernel = GetModuleHandle("kernel32"); + HMODULE hKernel = GetModuleHandleA("kernel32"); pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime"); pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime"); pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA");