diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-14 14:34:18 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-14 14:34:18 -0700 |
commit | 5d856da6d0a36bf98db55c11d94099ecb20d6e6e (patch) | |
tree | a02ed8cf2f606aa10ced974d953a3b7999dfe28b | |
parent | 2fd0959ded01063e4a62c05e9d2d6b05cf6384c8 (diff) | |
download | emacs-5d856da6d0a36bf98db55c11d94099ecb20d6e6e.tar.gz |
* xdisp.c (reseat_to_string): Fix pointer signedness issue.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <eggert@cs.ucla.edu> + + * xdisp.c (reseat_to_string): Fix pointer signedness issue. + 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> * 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; |