summaryrefslogtreecommitdiff
path: root/src/casefiddle.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-09-24 11:24:47 -0400
committerEli Zaretskii <eliz@gnu.org>2010-09-24 11:24:47 -0400
commita2b828eed53069b1c6030643b965d139f0bc8deb (patch)
tree05e43d96e053a743224d2e674d5bdf515607e5b8 /src/casefiddle.c
parent4809f27c145460849475a8fa524f69e7635bdb39 (diff)
downloademacs-a2b828eed53069b1c6030643b965d139f0bc8deb.tar.gz
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.c4
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
operate_on_word (Lisp_Object arg, EMACS_INT *newpoint)
{
Lisp_Object val;
- int farend;
- int iarg;
+ EMACS_INT farend;
+ EMACS_INT iarg;
CHECK_NUMBER (arg);
iarg = XINT (arg);