Paul Vriens : kernel32/tests: Fix tests on win9x.
Alexandre Julliard
julliard at winehq.org
Thu May 1 06:39:30 CDT 2008
Module: wine
Branch: master
Commit: d3c4e3d4a7b135a1d71bdb513076f4266d7017dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d3c4e3d4a7b135a1d71bdb513076f4266d7017dc
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Thu May 1 10:56:09 2008 +0200
kernel32/tests: Fix tests on win9x.
---
dlls/kernel32/tests/toolhelp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/toolhelp.c b/dlls/kernel32/tests/toolhelp.c
index aafc982..48b6a6b 100644
--- a/dlls/kernel32/tests/toolhelp.c
+++ b/dlls/kernel32/tests/toolhelp.c
@@ -63,7 +63,7 @@ static int init(void)
int argc;
char** argv;
HANDLE ev1, ev2, ev3, hThread;
- DWORD w;
+ DWORD w, tid;
argc = winetest_get_mainargs( &argv );
strcpy(selfname, argv[0]);
@@ -78,7 +78,7 @@ static int init(void)
ev3 = CreateEvent(NULL, FALSE, FALSE, NULL);
if (ev3 == NULL) ExitProcess(WAIT_ABANDONED);
- hThread = CreateThread(NULL, 0, sub_thread, ev3, 0, NULL);
+ hThread = CreateThread(NULL, 0, sub_thread, ev3, 0, &tid);
if (hThread == NULL) ExitProcess(WAIT_ABANDONED);
if (!LoadLibraryA("shell32.dll")) ExitProcess(WAIT_ABANDONED);
More information about the wine-cvs
mailing list