kernel32/tests: Fix time tests compilation with __WINESRC__ defined.

This commit is contained in:
Dmitry Timoshkov 2013-10-17 11:45:46 +09:00 committed by Alexandre Julliard
parent 373178cdf1
commit 193c837989
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ static void test_GetCalendarInfo(void)
START_TEST(time) START_TEST(time)
{ {
HMODULE hKernel = GetModuleHandle("kernel32"); HMODULE hKernel = GetModuleHandleA("kernel32");
pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime"); pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime");
pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime"); pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime");
pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA"); pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA");