From e3670faac703a09d907604e5d31bf86fa7d2441c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 3 Mar 1998 01:29:16 +0000 Subject: [PATCH] (general_insert_function): Use unibyte_char_to_multibyte if an argument is character code. (Finsert_char): Use unibyte_char_to_multibyte. (string1): Cast ARGS to `char **' to avoid compiler warning. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 9fc69b74de9..3fd3d91de33 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2454,7 +2454,7 @@ format1 (string1) args[2] = arg2; args[3] = arg3; args[4] = arg4; - doprnt (buf, sizeof buf, string1, (char *)0, 5, args); + doprnt (buf, sizeof buf, string1, (char *)0, 5, (char **) args); #else doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1); #endif -- 2.39.2