From: Paul Eggert Date: Thu, 14 Jul 2011 21:34:18 +0000 (-0700) Subject: * xdisp.c (reseat_to_string): Fix pointer signedness issue. X-Git-Tag: emacs-pretest-24.0.90~104^2~266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d856da6d0a36bf98db55c11d94099ecb20d6e6e;p=emacs.git * xdisp.c (reseat_to_string): Fix pointer signedness issue. --- diff --git a/src/ChangeLog b/src/ChangeLog index 50a2d82fc7e..960ab3d0775 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Paul Eggert + + * xdisp.c (reseat_to_string): Fix pointer signedness issue. + 2011-07-14 Lars Magne Ingebrigtsen * data.c (Fcdr, Fcar): Revert the last change, since it didn't diff --git a/src/xdisp.c b/src/xdisp.c index f8b4e65a7e5..69a66a4db64 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5890,7 +5890,7 @@ reseat_to_string (struct it *it, const char *s, Lisp_Object string, if (it->bidi_p) { it->bidi_it.string.lstring = Qnil; - it->bidi_it.string.s = s; + it->bidi_it.string.s = (const unsigned char *) s; it->bidi_it.string.schars = it->end_charpos; it->bidi_it.string.bufpos = 0; it->bidi_it.string.from_disp_str = 0;