]> git.eshelyaron.com Git - emacs.git/commitdiff
* fns.c (Fstring_as_unibyte): Fix last change.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 16 Oct 2013 09:56:36 +0000 (13:56 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 16 Oct 2013 09:56:36 +0000 (13:56 +0400)
src/fns.c

index ceea0306b5f5835db96f3a2bf6bf3bee785aae7a..7a7ddc8b89ce3c0ec76b6151a642cbf847bed725 100644 (file)
--- 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);