Peter Oberndorfer : ntdll: Use correct prototype for thread function.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 11 07:27:58 CDT 2007
Module: wine
Branch: master
Commit: 849a0fcf97923a8ec0d65e72f91d4d54a1860ce2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=849a0fcf97923a8ec0d65e72f91d4d54a1860ce2
Author: Peter Oberndorfer <kumbayo84 at arcor.de>
Date: Thu May 10 20:54:16 2007 +0200
ntdll: Use correct prototype for thread function.
---
dlls/ntdll/tests/atom.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/atom.c b/dlls/ntdll/tests/atom.c
index 1b3f161..8dbc9b2 100644
--- a/dlls/ntdll/tests/atom.c
+++ b/dlls/ntdll/tests/atom.c
@@ -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;
More information about the wine-cvs
mailing list