# HG changeset patch # User Eli Zaretskii # Date 1257504866 0 # Node ID 7d244791c02084115257a5cbb7f887bc98d00ca4 # Parent 5910e0380daf8744346bbdd67cd7f8c205165f71 (make_pure_c_string): Fix last change to avoid compiler warning. diff -r 5910e0380daf -r 7d244791c020 src/alloc.c --- a/src/alloc.c Fri Nov 06 08:30:43 2009 +0000 +++ b/src/alloc.c Fri Nov 06 10:54:26 2009 +0000 @@ -4832,7 +4832,7 @@ s = (struct Lisp_String *) pure_alloc (sizeof *s, Lisp_String); s->size = nchars; s->size_byte = -1; - s->data = data; + s->data = (unsigned char *) data; s->intervals = NULL_INTERVAL; XSETSTRING (string, s); return string;