From dd41497476454436435800f4cf0a1daafff0627a Mon Sep 17 00:00:00 2001 From: Snaipe Date: Thu, 17 Sep 2015 16:07:49 -0700 Subject: [PATCH] Removed stray semicolon and fixed signed/unsigned comparison warning on windows --- src/compat/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compat/process.c b/src/compat/process.c index 7ac7727..168a4b8 100644 --- a/src/compat/process.c +++ b/src/compat/process.c @@ -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)