diff options
| author | Eli Zaretskii | 2010-09-24 11:24:47 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-24 11:24:47 -0400 |
| commit | 4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98 (patch) | |
| tree | 9afa3e5cda7d3f8505ca39f25d5004797b78c6f2 /src/casefiddle.c | |
| parent | f0812d352e22fb610d5002a50827278fd271938c (diff) | |
| download | emacs-4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98.tar.gz emacs-4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98.zip | |
Fix int/EMACS_INT use in casefiddle.c and syntax.c.
syntax.c (scan_words, update_syntax_table)
(prev_char_comend_first, back_comment, skip_chars)
(skip_syntaxes, Fforward_comment, Fbackward_prefix_chars): Use
EMACS_INT for buffer and string positions.
syntax.h (scan_words, update_syntax_table): Adjust prototypes.
casefiddle.c (operate_on_word): Use EMACS_INT for buffer
positions.
Diffstat (limited to 'src/casefiddle.c')
| -rw-r--r-- | src/casefiddle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c index b6551618b2f..a9169f79951 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c | |||
| @@ -352,8 +352,8 @@ static Lisp_Object | |||
| 352 | operate_on_word (Lisp_Object arg, EMACS_INT *newpoint) | 352 | operate_on_word (Lisp_Object arg, EMACS_INT *newpoint) |
| 353 | { | 353 | { |
| 354 | Lisp_Object val; | 354 | Lisp_Object val; |
| 355 | int farend; | 355 | EMACS_INT farend; |
| 356 | int iarg; | 356 | EMACS_INT iarg; |
| 357 | 357 | ||
| 358 | CHECK_NUMBER (arg); | 358 | CHECK_NUMBER (arg); |
| 359 | iarg = XINT (arg); | 359 | iarg = XINT (arg); |