]> git.eshelyaron.com Git - emacs.git/commitdiff
* syntax.c (update_syntax_table): Use unsigned instead of int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000 (00:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000 (00:53 -0700)
src/ChangeLog
src/syntax.c

index d22ec42a978438156e7c2ddcbfb02bfc371317bc..0cd4df78280d506f7a6e683aa48077315ceb772c 100644 (file)
@@ -1,6 +1,7 @@
 2011-04-04  Paul Eggert  <eggert@cs.ucla.edu>
 
        * syntax.c (scan_words): Remove var that was set but not used.
+       (update_syntax_table): Use unsigned instead of int.
 
        * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs.
        (lisp_file_lexically_bound_p, read1): Use unsigned instead of int.
index 892cec65697cd8a412df329cc105de334f084d52..56176f3241860101beff2a860f9ef67fcee5aa36 100644 (file)
@@ -175,7 +175,8 @@ update_syntax_table (EMACS_INT charpos, int count, int init,
                     Lisp_Object object)
 {
   Lisp_Object tmp_table;
-  int cnt = 0, invalidate = 1;
+  unsigned cnt = 0;
+  int invalidate = 1;
   INTERVAL i;
 
   if (init)