(Fsingle_key_description): Add cast when passing EMACS_INT
values to sprintf.
This commit is contained in:
parent
dfa3bb7a61
commit
959e1b49b1
1 changed files with 1 additions and 1 deletions
|
|
@ -2469,7 +2469,7 @@ around function keys and event symbols. */)
|
|||
{
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue