X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fmingw.c;h=a0ac487c0c12ea0e7c81485b5784e28f2115a2ea;hb=78e98eaf5ee49bc6d62ef9bdf87066528bfba248;hp=efdc703257c9589018e59dc5bc93e9980e0f30b6;hpb=78c17b9943ade62e6eebe069fadaecc637b301df;p=git.git diff --git a/compat/mingw.c b/compat/mingw.c index efdc70325..a0ac487c0 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1712,7 +1712,7 @@ char *getpass(const char *prompt) return strbuf_detach(&buf, NULL); } -pid_t waitpid(pid_t pid, int *status, unsigned options) +pid_t waitpid(pid_t pid, int *status, int options) { HANDLE h = OpenProcess(SYNCHRONIZE | PROCESS_QUERY_INFORMATION, FALSE, pid);