From 956d86d1c9078eba380eb2530b0ff577a85c2e69 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 8 Dec 2011 20:39:57 +0100 Subject: mingw: give waitpid the correct signature POSIX says that last parameter to waitpid should be 'int', so let's make it so. Signed-off-by: Erik Faye-Lund Signed-off-by: Junio C Hamano --- compat/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat/mingw.h') diff --git a/compat/mingw.h b/compat/mingw.h index ce9dd980e..43e42f448 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -120,7 +120,7 @@ static inline int mingw_mkdir(const char *path, int mode) #define mkdir mingw_mkdir #define WNOHANG 1 -pid_t waitpid(pid_t pid, int *status, unsigned options); +pid_t waitpid(pid_t pid, int *status, int options); #define kill mingw_kill int mingw_kill(pid_t pid, int sig); -- cgit v1.2.1