Commit 959e1b49 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(Fsingle_key_description): Add cast when passing EMACS_INT

values to sprintf.
parent dfa3bb7a
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment