diff options
author | Kenichi Handa <handa@m17n.org> | 1998-03-03 01:29:16 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-03-03 01:29:16 +0000 |
commit | e3670faac703a09d907604e5d31bf86fa7d2441c (patch) | |
tree | d2014909deba396d201fb672fb3e26c09b26d0e9 /src/editfns.c | |
parent | d26650180fcd1ef5507cb569c552db4f69eb9ef0 (diff) | |
download | emacs-e3670faac703a09d907604e5d31bf86fa7d2441c.tar.gz |
(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.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |