* alloc.c (Fmake_string): Fix last change.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 10:27:48 +0000 (14:27 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 7 Oct 2013 10:27:48 +0000 (14:27 +0400)
src/alloc.c

index 0e6a019..990390f 100644 (file)
@@ -1990,7 +1990,7 @@ INIT must be an integer that represents a character.  */)
   else
     {
       unsigned char str[MAX_MULTIBYTE_LENGTH];
-      int len = CHAR_STRING (c, str);
+      ptrdiff_t len = CHAR_STRING (c, str);
       EMACS_INT string_len = XINT (length);
       unsigned char *p, *beg, *end;