# HG changeset patch # User Richard M. Stallman # Date 894594038 0 # Node ID 3a95abf581d715413aa0668c275c5638f338de15 # Parent c041ffd185c71259a5111508ca431ce3927ce7c4 (doprnt1): Cast arg to CHAR_STRING. diff -r c041ffd185c7 -r 3a95abf581d7 src/doprnt.c --- a/src/doprnt.c Fri May 08 01:53:55 1998 +0000 +++ b/src/doprnt.c Fri May 08 02:20:38 1998 +0000 @@ -293,7 +293,7 @@ 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);