diff --git a/src/ChangeLog b/src/ChangeLog index 399138a1d80..a0b7c449b95 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-10 Dmitry Antipov + + * cmds.c (Fself_insert_command): Respect the width of EMACS_INT + and avoid warning. + 2014-02-09 Lars Ingebrigtsen * cmds.c (Fself_insert_command): Output a clearer error message on diff --git a/src/cmds.c b/src/cmds.c index 29c574abb14..03ce54c8ee4 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -280,7 +280,7 @@ At the end, it runs `post-self-insert-hook'. */) CHECK_NUMBER (n); if (XFASTINT (n) < 1) - error ("Repetition argument is %d, but must be higher than 0.", + error ("Repetition argument is %"pI"d, but must be higher than 0.", XFASTINT (n)); if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))