Removed stray semicolon and fixed signed/unsigned comparison warning on windows

This commit is contained in:
Snaipe 2015-09-17 16:07:49 -07:00
parent f09dff7d28
commit dd41497476

View file

@ -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)