From: Eli Zaretskii Date: Sun, 7 Nov 2021 15:02:46 +0000 (+0200) Subject: Fix compilation MinGW warnings X-Git-Tag: emacs-28.0.90~107 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21de5e7b2e;p=emacs.git Fix compilation MinGW warnings * src/w32.h (prepare_standard_handles, reset_standard_handles): Fix prototypes. Reported by Andy Moreton in https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg00597.html. --- diff --git a/src/w32.h b/src/w32.h index ffa145b1484..5aba0aed9a6 100644 --- a/src/w32.h +++ b/src/w32.h @@ -155,11 +155,11 @@ extern unsigned int w32_get_short_filename (const char *, char *, int); /* Prepare our standard handles for proper inheritance by child processes. */ extern void prepare_standard_handles (int in, int out, - int err, HANDLE handles[4]); + int err, HANDLE handles[3]); /* Reset our standard handles to their original state. */ extern void reset_standard_handles (int in, int out, - int err, HANDLE handles[4]); + int err, HANDLE handles[3]); /* Return the string resource associated with KEY of type TYPE. */ extern LPBYTE w32_get_resource (const char * key, LPDWORD type);