From: Johannes Schindelin <redacted>
Git's source code expects waitpid() to return a signed int status.
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Steffen Prohaska <redacted>
---
compat/mingw.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/compat/mingw.h b/compat/mingw.h
index 762eb14..b1156b8 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -109,7 +109,7 @@ static inline int mingw_unlink(const char *pathname)
}
#define unlink mingw_unlink
-static inline int waitpid(pid_t pid, unsigned *status, unsigned options)
+static inline int waitpid(pid_t pid, int *status, unsigned options)
{
if (options == 0)
return _cwait(status, pid, 0);--
1.6.3.1.54.g99dd