Removed stray semicolon and fixed signed/unsigned comparison warning on windows
This commit is contained in:
parent
f09dff7d28
commit
dd41497476
1 changed files with 2 additions and 2 deletions
|
@ -297,13 +297,13 @@ s_proc_handle *fork_process() {
|
|||
if (g_worker_context.suite->data)
|
||||
ctx->suite_data = *g_worker_context.suite->data;
|
||||
|
||||
if (ResumeThread(info.hThread) == -1)
|
||||
if (ResumeThread(info.hThread) == (DWORD) -1)
|
||||
goto failure;
|
||||
|
||||
// wait until the child has initialized itself
|
||||
while (!ctx->resumed) {
|
||||
DWORD exit;
|
||||
if (!GetExitCodeProcess(info.hProcess, &exit));
|
||||
if (!GetExitCodeProcess(info.hProcess, &exit))
|
||||
continue;
|
||||
|
||||
if (exit != STILL_ACTIVE)
|
||||
|
|
Loading…
Add table
Reference in a new issue