Mercurial > emacs
changeset 21993:3a95abf581d7
(doprnt1): Cast arg to CHAR_STRING.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 08 May 1998 02:20:38 +0000 |
parents | c041ffd185c7 |
children | e244c4d9b0ca |
files | src/doprnt.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);