changeset 110544:bb46575a984d

Fix int/EMACS_INT in bidi.c. dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer positions.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 24 Sep 2010 08:05:24 -0400
parents a89eabac600d
children 6ae8bab9b79a
files src/ChangeLog src/dispextern.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Sep 24 07:55:44 2010 -0400
+++ b/src/ChangeLog	Fri Sep 24 08:05:24 2010 -0400
@@ -1,5 +1,8 @@
 2010-09-24  Eli Zaretskii  <eliz@gnu.org>
 
+	* dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer
+	positions.
+
 	* fns.c (Fcompare_strings, Fstring_lessp, concat)
 	(string_make_unibyte, Fstring_as_unibyte, Fsubstring)
 	(Fsubstring_no_properties, substring_both, Ffillarray)
--- a/src/dispextern.h	Fri Sep 24 07:55:44 2010 -0400
+++ b/src/dispextern.h	Fri Sep 24 08:05:24 2010 -0400
@@ -1770,7 +1770,7 @@
 /* Data type for storing information about characters we need to
    remember.  */
 struct bidi_saved_info {
-  int bytepos, charpos;		/* character's buffer position */
+  EMACS_INT bytepos, charpos;	/* character's buffer position */
   bidi_type_t type;		/* character's resolved bidi type */
   bidi_type_t type_after_w1;	/* original type of the character, after W1 */
   bidi_type_t orig_type;	/* type as we found it in the buffer */