changeset 21035:5d18067080d0

(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.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 01:29:16 +0000
parents f3128abaf8aa
children 3d4005eb0e71
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Mar 03 01:29:16 1998 +0000
+++ b/src/editfns.c	Tue Mar 03 01:29:16 1998 +0000
@@ -2454,7 +2454,7 @@
   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