From: Steffen Prohaska Date: Sat, 23 May 2009 08:04:49 GMT Subject: [PATCH 3/5] MinGW: use POSIX signature of waitpid() Message-ID: <1243065891-13270-4-git-send-email-prohaska@zib.de> In-Reply-To: <1243065891-13270-3-git-send-email-prohaska@zib.de> From: Johannes Schindelin Git's source code expects waitpid() to return a signed int status. Signed-off-by: Johannes Schindelin Signed-off-by: Steffen Prohaska --- 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