1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00

(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.
This commit is contained in:
Kenichi Handa 1998-03-03 01:29:16 +00:00
parent d26650180f
commit e3670faac7

View file

@ -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