diff options
| author | Paul Eggert | 2011-03-22 01:59:50 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-22 01:59:50 -0700 |
| commit | 916c72e97a711e6d0f571a507634e4f795fbaf6c (patch) | |
| tree | 3d10d5808cde176bfe6d700bd60702c341460ef4 /src/ChangeLog | |
| parent | b7cbbd6f018241962b432c1a608067614d223a6d (diff) | |
| download | emacs-916c72e97a711e6d0f571a507634e4f795fbaf6c.tar.gz emacs-916c72e97a711e6d0f571a507634e4f795fbaf6c.zip | |
* xmenu.c (set_frame_menubar): Use EMACS_UINT, not int, for indexes
that could (at least in theory) be that large.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fd135de123b..c8fa1e55695 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-03-22 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-22 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xmenu.c (set_frame_menubar): Use EMACS_UINT, not int, for indexes | ||
| 4 | that could (at least in theory) be that large. | ||
| 5 | |||
| 3 | * xdisp.c (message_log_check_duplicate): Return unsigned long, not int. | 6 | * xdisp.c (message_log_check_duplicate): Return unsigned long, not int. |
| 4 | This is less likely to overflow, and avoids undefined behavior if | 7 | This is less likely to overflow, and avoids undefined behavior if |
| 5 | overflow does occur. All callers changed. Use strtoul to scan | 8 | overflow does occur. All callers changed. Use strtoul to scan |