diff options
| author | Andreas Schwab | 2007-11-22 16:15:44 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-11-22 16:15:44 +0000 |
| commit | 959e1b49b1b82f1fc7b16707dc7102df282bb554 (patch) | |
| tree | 56c4b2cae70b811021c303d9badcdc9312778219 /src/keymap.c | |
| parent | dfa3bb7a6136ca7ed67cae398fe335f9595652d1 (diff) | |
| download | emacs-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.c | 2 |
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 |