Commit 39e896c1 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Avoid compiler warnings in w32fns.c:emacs_abort.

 src/w32fns.c (emacs_abort): Use intptr_t as argument of
 INT_BUFSIZE_BOUND, to avoid compiler warnings.
parent 64e4c76e
2013-12-18 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (emacs_abort): Use intptr_t as argument of
INT_BUFSIZE_BOUND, to avoid compiler warnings.
2013-12-18 Glenn Morris <rgm@gnu.org>
* lread.c (Fload): Pass load_prefer_newer to openp.
......
......@@ -8422,7 +8422,12 @@ emacs_abort (void)
int errfile_fd = -1;
int j;
char buf[sizeof ("\r\nException at this address:\r\n\r\n")
+ 2 * INT_BUFSIZE_BOUND (void *)];
/* The type below should really be 'void *', but
INT_BUFSIZE_BOUND cannot handle that without
triggering compiler warnings (under certain
pedantic warning switches), it wants an
integer type. */
+ 2 * INT_BUFSIZE_BOUND (intptr_t)];
#ifdef CYGWIN
int stderr_fd = 2;
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment