From 64f6f0d84bca16d4359618fd8d06512b3743766b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 8 May 1998 02:20:38 +0000 Subject: [PATCH] (doprnt1): Cast arg to CHAR_STRING. --- src/doprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2