projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca8fe4
)
* syntax.c (update_syntax_table): Use unsigned instead of int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000
(
00:53
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000
(
00:53
-0700)
src/ChangeLog
patch
|
blob
|
history
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d22ec42a978438156e7c2ddcbfb02bfc371317bc..0cd4df78280d506f7a6e683aa48077315ceb772c 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-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.
diff --git
a/src/syntax.c
b/src/syntax.c
index 892cec65697cd8a412df329cc105de334f084d52..56176f3241860101beff2a860f9ef67fcee5aa36 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-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)