changeset 71677:de59660f0a51

(Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 07 Jul 2006 16:52:13 +0000
parents 6930c75732b8
children dd05f4dc5c56
files src/ChangeLog src/syntax.c
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jul 07 16:38:17 2006 +0000
+++ b/src/ChangeLog	Fri Jul 07 16:52:13 2006 +0000
@@ -1,5 +1,7 @@
 2006-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.
+
 	* lread.c (read_filtered_event): Remove `register' qualifier because it
 	causes compilation problem with gcc-4.0.2-20051125 on amd64.
 	(readevalloop): Remove unused var `bpos'.
--- a/src/syntax.c	Fri Jul 07 16:38:17 2006 +0000
+++ b/src/syntax.c	Fri Jul 07 16:52:13 2006 +0000
@@ -1992,16 +1992,16 @@
      (count)
      Lisp_Object count;
 {
-  register int from;
-  int from_byte;
-  register int stop;
+  register EMACS_INT from;
+  EMACS_INT from_byte;
+  register EMACS_INT stop;
   register int c, c1;
   register enum syntaxcode code;
   int comstyle = 0;	    /* style of comment encountered */
   int comnested = 0;	    /* whether the comment is nestable or not */
   int found;
-  int count1;
-  int out_charpos, out_bytepos;
+  EMACS_INT count1;
+  EMACS_INT out_charpos, out_bytepos;
   int dummy;
 
   CHECK_NUMBER (count);