diff src/casefiddle.c @ 110551:f28cc7ff91f9

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.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 24 Sep 2010 11:24:47 -0400
parents 9212e8bdf79b
children 417b1e4d63cd
line wrap: on
line diff
--- a/src/casefiddle.c	Fri Sep 24 17:20:58 2010 +0200
+++ b/src/casefiddle.c	Fri Sep 24 11:24:47 2010 -0400
@@ -352,8 +352,8 @@
 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);