Commit 323637a2 authored by Eli Zaretskii's avatar Eli Zaretskii

(make_pure_c_string): Fix last change to avoid compiler warning.

parent e511451f
2009-11-06 Eli Zaretskii <eliz@gnu.org>
* alloc.c (make_pure_c_string): Fix last change to avoid compiler
warning.
2009-11-06 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_event_is_for_scrollbar): New function (bug#4870).
......
......@@ -4832,7 +4832,7 @@ make_pure_c_string (const char *data)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment