changeset 71787:7e302766894f

(forw_comment): Also use EMACS_INT for buffer positions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 11 Jul 2006 13:52:21 +0000
parents 7ceb7ea56476
children c4527316e616
files src/ChangeLog src/syntax.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jul 11 11:08:31 2006 +0000
+++ b/src/ChangeLog	Tue Jul 11 13:52:21 2006 +0000
@@ -1,3 +1,7 @@
+2006-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* syntax.c (forw_comment): Also use EMACS_INT for buffer positions.
+
 2006-07-11  Kim F. Storm  <storm@cua.dk>
 
 	* dispnew.c (Fredisplay): Add FORCE argument to force redisplay	when
@@ -11,8 +15,8 @@
 	* dispnew.c (Fredisplay): New function, equivalent to (sit-for 0).
 	(Fsit_for): Function deleted.
 
-	* keyboard.c (command_loop_1, Fexecute_extended_command): Call
-	sit_for instead of Fsit_for.
+	* keyboard.c (command_loop_1, Fexecute_extended_command):
+	Call sit_for instead of Fsit_for.
 
 	* minibuf.c (temp_echo_area_glyphs): Likewise.
 
--- a/src/syntax.c	Tue Jul 11 11:08:31 2006 +0000
+++ b/src/syntax.c	Tue Jul 11 13:52:21 2006 +0000
@@ -1891,9 +1891,10 @@
 static int
 forw_comment (from, from_byte, stop, nesting, style, prev_syntax,
 	      charpos_ptr, bytepos_ptr, incomment_ptr)
-     int from, from_byte, stop;
+     EMACS_INT from, from_byte, stop;
      int nesting, style, prev_syntax;
-     int *charpos_ptr, *bytepos_ptr, *incomment_ptr;
+     EMACS_INT *charpos_ptr, *bytepos_ptr;
+     int *incomment_ptr;
 {
   register int c, c1;
   register enum syntaxcode code;