# HG changeset patch # User Eli Zaretskii # Date 1285329924 14400 # Node ID bb46575a984ddf6fa95951417b541d8179ce5e96 # Parent a89eabac600d46728f683ddbd6bb0a4714591f86 Fix int/EMACS_INT in bidi.c. dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer positions. diff -r a89eabac600d -r bb46575a984d src/ChangeLog --- 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 + * 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) diff -r a89eabac600d -r bb46575a984d src/dispextern.h --- 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 */