diff options
| author | Paul Eggert | 2011-04-04 00:48:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-04 00:48:08 -0700 |
| commit | 3c346cc30f4f27520a05f001b7e9a8ad074ddd6f (patch) | |
| tree | e6774cbd77f4f946115ff0c8800135e5854e3ea8 /src | |
| parent | 06a0259a1a1661b6128780092ff4a3dd59bc0256 (diff) | |
| download | emacs-3c346cc30f4f27520a05f001b7e9a8ad074ddd6f.tar.gz emacs-3c346cc30f4f27520a05f001b7e9a8ad074ddd6f.zip | |
* lread.c (lisp_file_lexically_bound_p, read1): Use unsigned instead of int.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/lread.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6ee8ec17888..ee955245452 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 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. | 3 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. |
| 4 | (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. | ||
| 4 | 5 | ||
| 5 | * print.c (print_error_message): Avoid int overflow. | 6 | * print.c (print_error_message): Avoid int overflow. |
| 6 | 7 | ||
diff --git a/src/lread.c b/src/lread.c index e7bcd2b260b..fb5b6cd0136 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -819,7 +819,7 @@ lisp_file_lexically_bound_p (Lisp_Object readcharfun) | |||
| 819 | while (in_file_vars) | 819 | while (in_file_vars) |
| 820 | { | 820 | { |
| 821 | char var[100], val[100]; | 821 | char var[100], val[100]; |
| 822 | int i; | 822 | unsigned i; |
| 823 | 823 | ||
| 824 | ch = READCHAR; | 824 | ch = READCHAR; |
| 825 | 825 | ||
| @@ -2319,7 +2319,7 @@ static Lisp_Object | |||
| 2319 | read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) | 2319 | read1 (register Lisp_Object readcharfun, int *pch, int first_in_list) |
| 2320 | { | 2320 | { |
| 2321 | register int c; | 2321 | register int c; |
| 2322 | int uninterned_symbol = 0; | 2322 | unsigned uninterned_symbol = 0; |
| 2323 | int multibyte; | 2323 | int multibyte; |
| 2324 | 2324 | ||
| 2325 | *pch = 0; | 2325 | *pch = 0; |