Commit 64f6f0d8 authored by Richard M. Stallman's avatar Richard M. Stallman

(doprnt1): Cast arg to CHAR_STRING.

parent 58c81753
......@@ -293,7 +293,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
case 'c':
if (cnt == nargs)
error ("not enough arguments for format string");
tem = CHAR_STRING ((EMACS_INT) args[cnt], charbuf, string);
tem = CHAR_STRING ((int) (EMACS_INT) args[cnt], charbuf, string);
cnt++;
string[tem] = 0;
width = strwidth (string, tem);
......
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