* 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 ceea030..7a7ddc8 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);