From: Dmitry Antipov Date: Wed, 16 Oct 2013 09:56:36 +0000 (+0400) Subject: * fns.c (Fstring_as_unibyte): Fix last change. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17b9dc45a7cc3284351066ecad1895ae17d27484;p=emacs.git * fns.c (Fstring_as_unibyte): Fix last change. --- diff --git a/src/fns.c b/src/fns.c index ceea0306b5f..7a7ddc8b89c 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1009,7 +1009,7 @@ If STRING is multibyte and contains a character of charset if (STRING_MULTIBYTE (string)) { - unsigned char *str = xlispstrdup (string); + unsigned char *str = (unsigned char *) xlispstrdup (string); ptrdiff_t bytes = str_as_unibyte (str, SBYTES (string)); string = make_unibyte_string ((char *) str, bytes);