diff options
| author | Paul Eggert | 2011-03-21 11:03:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-21 11:03:15 -0700 |
| commit | b1f961e1fa871419e3e75759ad2fefee032ebff5 (patch) | |
| tree | 4c399696c8e55f7cc661dcd04ab9654fdf6a89be /lib-src/ChangeLog | |
| parent | 58cb46fbf4a0d3b37cb9cf2b07446eaa48663693 (diff) | |
| download | emacs-b1f961e1fa871419e3e75759ad2fefee032ebff5.tar.gz emacs-b1f961e1fa871419e3e75759ad2fefee032ebff5.zip | |
* ebrowse.c: Use size_t, not int, for sizes.
This avoids a warning with gcc -Wstrict-overflow, and works
better for very large objects.
(inbuffer_size): Now size_t. All uses changed.
(xmalloc, xrealloc, operator_name, process_file): Use size_t for
sizes. Don't bother testing whether a size_t value can be negative.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 6c25f582eea..909bee743bb 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * ebrowse.c: Use size_t, not int, for sizes. | ||
| 4 | This avoids a warning with gcc -Wstrict-overflow, and works | ||
| 5 | better for very large objects. | ||
| 6 | (inbuffer_size): Now size_t. All uses changed. | ||
| 7 | (xmalloc, xrealloc, operator_name, process_file): Use size_t for | ||
| 8 | sizes. Don't bother testing whether a size_t value can be negative. | ||
| 9 | |||
| 3 | * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. | 10 | * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. |
| 4 | 11 | ||
| 5 | etags: In Prolog functions, don't assume int fits in size_t. | 12 | etags: In Prolog functions, don't assume int fits in size_t. |