From 446470a9f7b12a92652e2b375a8c710cd5d943ab Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 24 Sep 2010 08:05:24 -0400 Subject: [PATCH] Fix int/EMACS_INT in bidi.c. dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer positions. --- src/ChangeLog | 3 +++ src/dispextern.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.39.5