From: Eli Zaretskii Date: Fri, 24 Sep 2010 12:05:24 +0000 (-0400) Subject: Fix int/EMACS_INT in bidi.c. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~42^2~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=446470a9f7b12a92652e2b375a8c710cd5d943ab;p=emacs.git Fix int/EMACS_INT in bidi.c. dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer positions. --- diff --git a/src/ChangeLog b/src/ChangeLog index 47cc7a76d25..c0ea0e49819 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/dispextern.h b/src/dispextern.h index 6fd92ba940d..e4c13b58ce4 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1770,7 +1770,7 @@ typedef enum { NEUTRAL_DIR, L2R, R2L } bidi_dir_t; /* 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 */