ntdll: Use correct prototype for thread function.

This commit is contained in:
Peter Oberndorfer 2007-05-10 20:54:16 +02:00 committed by Alexandre Julliard
parent f999a9e433
commit 849a0fcf97
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ static void InitFunctionPtr(void)
}
}
static DWORD RtlAtomTestThread(LPVOID Table)
static DWORD WINAPI RtlAtomTestThread(LPVOID Table)
{
RTL_ATOM_TABLE AtomTable = *(PRTL_ATOM_TABLE)Table;
RTL_ATOM Atom;
@ -175,7 +175,7 @@ static void test_NtAtom(void)
res = pRtlPinAtomInAtomTable(AtomTable, Atom2);
ok(!res, "Unable to pin atom in atom table, retval: %x\n", res);
testThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)RtlAtomTestThread, &AtomTable, 0, NULL);
testThread = CreateThread(NULL, 0, RtlAtomTestThread, &AtomTable, 0, NULL);
WaitForSingleObject(testThread, INFINITE);
Len = 64;