changeset 86331:1cebf9cacc3c

(Fsingle_key_description): Add cast when passing EMACS_INT values to sprintf.
author Andreas Schwab <schwab@suse.de>
date Thu, 22 Nov 2007 16:15:44 +0000
parents eba0d96e791f
children ee344f824d4a
files src/keymap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Thu Nov 22 16:15:24 2007 +0000
+++ b/src/keymap.c	Thu Nov 22 16:15:44 2007 +0000
@@ -2469,7 +2469,7 @@
 	{
 	  char buf[256];
 
-	  sprintf (buf, "Invalid char code %ld", XINT (key));
+	  sprintf (buf, "Invalid char code %ld", (long) XINT (key));
 	  return build_string (buf);
 	}
       else if (charset