diff options
| author | Eli Zaretskii | 2011-04-09 19:35:19 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-04-09 19:35:19 +0300 |
| commit | a53e2e898b96c8024de5a1a413826a6a59dd6b54 (patch) | |
| tree | 560e6e4b0f16937e8883ac8811e6628c731e9a6f /src/editfns.c | |
| parent | 04f33f1ed9cdfed6a3e44a55d333cd19d58424ca (diff) | |
| download | emacs-a53e2e898b96c8024de5a1a413826a6a59dd6b54.tar.gz emacs-a53e2e898b96c8024de5a1a413826a6a59dd6b54.zip | |
Replace some uses of `int' with EMACS_INT.
src/search.c (string_match_1, fast_string_match)
(fast_c_string_match_ignore_case, fast_string_match_ignore_case)
(scan_buffer, find_next_newline_no_quit)
(find_before_next_newline, search_command, Freplace_match)
(Fmatch_data): Make some `int' variables be EMACS_INT.
src/xdisp.c (display_count_lines): 3rd argument and return value now
EMACS_INT. All callers changed.
(pint2hrstr): Last argument is now EMACS_INT.
src/coding.c (detect_coding_utf_8, detect_coding_emacs_mule)
(detect_coding_iso_2022, detect_coding_sjis, detect_coding_big5)
(detect_coding_ccl, detect_coding_charset, decode_coding_utf_8)
(decode_coding_utf_16, decode_coding_emacs_mule)
(decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
(decode_coding_ccl, decode_coding_charset)
<consumed_chars, consumed_chars_base>: Declare EMACS_INT.
(decode_coding_iso_2022, decode_coding_emacs_mule)
(decode_coding_sjis, decode_coding_big5, decode_coding_charset)
<char_offset, last_offset>: Declare EMACS_INT.
(encode_coding_utf_8, encode_coding_utf_16)
(encode_coding_emacs_mule, encode_invocation_designation)
(encode_designation_at_bol, encode_coding_iso_2022)
(encode_coding_sjis, encode_coding_big5, encode_coding_ccl)
(encode_coding_raw_text, encode_coding_charset) <produced_chars>:
Declare EMACS_INT.
(ASSURE_DESTINATION): Declare more_bytes EMACS_INT.
(encode_invocation_designation): Last argument P_NCHARS is now
EMACS_INT.
(decode_eol): Declare pos_byte, pos, and pos_end EMACS_INT.
(produce_chars): from_nchars and to_nchars are now EMACS_INT.
src/coding.h (struct coding_system) <head_ascii>: Declare EMACS_INT.
All users changed.
src/ccl.c (Fccl_execute_on_string): Declare some variables
EMACS_INT.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index d0f1df694d5..cd424f277bf 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -750,7 +750,7 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */) | |||
| 750 | /* It is possible that NEW_POS is not within the same field as | 750 | /* It is possible that NEW_POS is not within the same field as |
| 751 | OLD_POS; try to move NEW_POS so that it is. */ | 751 | OLD_POS; try to move NEW_POS so that it is. */ |
| 752 | { | 752 | { |
| 753 | int shortage; | 753 | EMACS_INT shortage; |
| 754 | Lisp_Object field_bound; | 754 | Lisp_Object field_bound; |
| 755 | 755 | ||
| 756 | if (fwd) | 756 | if (fwd) |