From: Paul Eggert Date: Mon, 14 Jul 2014 18:56:35 +0000 (-0700) Subject: * macros.c (Fstart_kbd_macro): Simplify. X-Git-Tag: emacs-25.0.90~2636^2~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=918be62752b7b3cd6e4a48e656dcbb52c3fc8073;p=emacs.git * macros.c (Fstart_kbd_macro): Simplify. This works around a GCC compiler bug when Emacs is configured with --enable-gcc-warnings. --- diff --git a/src/ChangeLog b/src/ChangeLog index a2ada806de5..75c2a01d2d2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2014-07-14 Paul Eggert + + * macros.c (Fstart_kbd_macro): Simplify. + This works around a GCC compiler bug when Emacs is configured with + --enable-gcc-warnings. + 2014-07-14 Dmitry Antipov * lisp.h (CHECK_VECTOR_OR_STRING): Return number of elements diff --git a/src/macros.c b/src/macros.c index c73986abd34..07667f09431 100644 --- a/src/macros.c +++ b/src/macros.c @@ -80,7 +80,7 @@ macro before appending to it. */) } else { - const ptrdiff_t incr = 30; + int incr = 30; ptrdiff_t i, len; bool cvt;