aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorAndreas Schwab2007-11-22 16:15:44 +0000
committerAndreas Schwab2007-11-22 16:15:44 +0000
commit959e1b49b1b82f1fc7b16707dc7102df282bb554 (patch)
tree56c4b2cae70b811021c303d9badcdc9312778219 /src/keymap.c
parentdfa3bb7a6136ca7ed67cae398fe335f9595652d1 (diff)
downloademacs-959e1b49b1b82f1fc7b16707dc7102df282bb554.tar.gz
emacs-959e1b49b1b82f1fc7b16707dc7102df282bb554.zip
(Fsingle_key_description): Add cast when passing EMACS_INT
values to sprintf.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 2edad90b732..88b63e40fcc 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -2469,7 +2469,7 @@ around function keys and event symbols. */)
2469 { 2469 {
2470 char buf[256]; 2470 char buf[256];
2471 2471
2472 sprintf (buf, "Invalid char code %ld", XINT (key)); 2472 sprintf (buf, "Invalid char code %ld", (long) XINT (key));
2473 return build_string (buf); 2473 return build_string (buf);
2474 } 2474 }
2475 else if (charset 2475 else if (charset