From: Richard M. Stallman Date: Fri, 8 May 1998 02:20:38 +0000 (+0000) Subject: (doprnt1): Cast arg to CHAR_STRING. X-Git-Tag: emacs-20.3~1084 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64f6f0d84bca16d4359618fd8d06512b3743766b;p=emacs.git (doprnt1): Cast arg to CHAR_STRING. --- diff --git a/src/doprnt.c b/src/doprnt.c index 7eaa2717056..13e13ef6200 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -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);