X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fmingw.c;h=a0ac487c0c12ea0e7c81485b5784e28f2115a2ea;hb=55dcc2ebad1b3ed4a6912f6f401f63cd3c71026f;hp=efdc703257c9589018e59dc5bc93e9980e0f30b6;hpb=b1b7cedcfe351870d4c56f664695a25f8651d5b3;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);