From 5d856da6d0a36bf98db55c11d94099ecb20d6e6e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 14 Jul 2011 14:34:18 -0700 Subject: [PATCH] * xdisp.c (reseat_to_string): Fix pointer signedness issue. --- src/ChangeLog | 4 ++++ src/xdisp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.5