diff options
| author | Paul Eggert | 2011-03-21 09:40:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-21 09:40:05 -0700 |
| commit | 3ef271f27f47dab138d431a72838d43a17102e27 (patch) | |
| tree | 1c39e0b53f29906f531c6e37177d939d4391bfb5 /lib-src/ChangeLog | |
| parent | a44c5709cecc6d21246c66651ea8c51201b8881a (diff) | |
| download | emacs-3ef271f27f47dab138d431a72838d43a17102e27.tar.gz emacs-3ef271f27f47dab138d431a72838d43a17102e27.zip | |
etags: In Prolog functions, don't assume int fits in size_t.
This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
not int, to store sizes.
(prolog_atom): Return 0, not -1, on error. All callers changed.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a5d20af4263..cb847669deb 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | etags: In Prolog functions, don't assume int fits in size_t. | ||
| 4 | This avoids a warning with gcc -Wstrict-overflow. | ||
| 5 | * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, | ||
| 6 | not int, to store sizes. | ||
| 7 | (prolog_atom): Return 0, not -1, on error. All callers changed. | ||
| 8 | |||
| 3 | update-game-score: fix bug with -r | 9 | update-game-score: fix bug with -r |
| 4 | * update-game-score.c (main): Don't set 'scores' to garbage when | 10 | * update-game-score.c (main): Don't set 'scores' to garbage when |
| 5 | -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug | 11 | -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug |