aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-03-21 11:03:15 -0700
committerPaul Eggert2011-03-21 11:03:15 -0700
commitb1f961e1fa871419e3e75759ad2fefee032ebff5 (patch)
tree4c399696c8e55f7cc661dcd04ab9654fdf6a89be /lib-src/ChangeLog
parent58cb46fbf4a0d3b37cb9cf2b07446eaa48663693 (diff)
downloademacs-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/ChangeLog7
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 @@
12011-03-21 Paul Eggert <eggert@cs.ucla.edu> 12011-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.