Fix warning about conversion on mingw64

This commit is contained in:
George Zhao
2018-01-17 19:35:57 +08:00
parent bc17ad31dc
commit 06994e0e21
8 changed files with 18 additions and 14 deletions

View File

@@ -131,7 +131,7 @@ int pty_process_spawn(PtyProcess *ptyproc)
}
goto cleanup;
}
proc->pid = GetProcessId(process_handle);
proc->pid = (int)GetProcessId(process_handle);
if (!RegisterWaitForSingleObject(
&ptyproc->finish_wait,