Mercurial > emacs
changeset 105881:7d244791c020
(make_pure_c_string): Fix last change to avoid compiler warning.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 06 Nov 2009 10:54:26 +0000 |
parents | 5910e0380daf |
children | 043c605c26d7 |
files | src/alloc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;