diff options
| author | Paul Eggert | 2011-04-04 00:53:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-04 00:53:20 -0700 |
| commit | 12cbf13fe46123b574a1dff5ac246e3e7d514623 (patch) | |
| tree | 14896bf48f3538c0253317b2ce88b1426dab0e2c /src | |
| parent | fca8fe46b72cab72cc06a7b20f6750d641959b7c (diff) | |
| download | emacs-12cbf13fe46123b574a1dff5ac246e3e7d514623.tar.gz emacs-12cbf13fe46123b574a1dff5ac246e3e7d514623.zip | |
* syntax.c (update_syntax_table): Use unsigned instead of int.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/syntax.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d22ec42a978..0cd4df78280 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2011-04-04 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * syntax.c (scan_words): Remove var that was set but not used. | 3 | * syntax.c (scan_words): Remove var that was set but not used. |
| 4 | (update_syntax_table): Use unsigned instead of int. | ||
| 4 | 5 | ||
| 5 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. | 6 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. |
| 6 | (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. | 7 | (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. |
diff --git a/src/syntax.c b/src/syntax.c index 892cec65697..56176f32418 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -175,7 +175,8 @@ update_syntax_table (EMACS_INT charpos, int count, int init, | |||
| 175 | Lisp_Object object) | 175 | Lisp_Object object) |
| 176 | { | 176 | { |
| 177 | Lisp_Object tmp_table; | 177 | Lisp_Object tmp_table; |
| 178 | int cnt = 0, invalidate = 1; | 178 | unsigned cnt = 0; |
| 179 | int invalidate = 1; | ||
| 179 | INTERVAL i; | 180 | INTERVAL i; |
| 180 | 181 | ||
| 181 | if (init) | 182 | if (init) |