diff options
| author | Eli Zaretskii | 2010-09-24 08:05:24 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-24 08:05:24 -0400 |
| commit | 446470a9f7b12a92652e2b375a8c710cd5d943ab (patch) | |
| tree | b9d00dfc78392e29a924735b5a51950cdca9cc4b /src | |
| parent | e6d4aefa01a591c7198b8e50c3544b83a34edf25 (diff) | |
| download | emacs-446470a9f7b12a92652e2b375a8c710cd5d943ab.tar.gz emacs-446470a9f7b12a92652e2b375a8c710cd5d943ab.zip | |
Fix int/EMACS_INT in bidi.c.
dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer positions.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/dispextern.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 47cc7a76d25..c0ea0e49819 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-09-24 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-09-24 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer | ||
| 4 | positions. | ||
| 5 | |||
| 3 | * fns.c (Fcompare_strings, Fstring_lessp, concat) | 6 | * fns.c (Fcompare_strings, Fstring_lessp, concat) |
| 4 | (string_make_unibyte, Fstring_as_unibyte, Fsubstring) | 7 | (string_make_unibyte, Fstring_as_unibyte, Fsubstring) |
| 5 | (Fsubstring_no_properties, substring_both, Ffillarray) | 8 | (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; | |||
| 1770 | /* Data type for storing information about characters we need to | 1770 | /* Data type for storing information about characters we need to |
| 1771 | remember. */ | 1771 | remember. */ |
| 1772 | struct bidi_saved_info { | 1772 | struct bidi_saved_info { |
| 1773 | int bytepos, charpos; /* character's buffer position */ | 1773 | EMACS_INT bytepos, charpos; /* character's buffer position */ |
| 1774 | bidi_type_t type; /* character's resolved bidi type */ | 1774 | bidi_type_t type; /* character's resolved bidi type */ |
| 1775 | bidi_type_t type_after_w1; /* original type of the character, after W1 */ | 1775 | bidi_type_t type_after_w1; /* original type of the character, after W1 */ |
| 1776 | bidi_type_t orig_type; /* type as we found it in the buffer */ | 1776 | bidi_type_t orig_type; /* type as we found it in the buffer */ |