diff options
| author | Paul Eggert | 2011-06-03 11:11:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-03 11:11:17 -0700 |
| commit | 39bc618abbfc4805d4d7dec195826577ef71da77 (patch) | |
| tree | c2fdf181a953d6168200c03c497a2b2f1f5aa132 /src/ChangeLog | |
| parent | ea9fafe0937ebd99780610a7c1451ca08b013702 (diff) | |
| parent | 369b7e5ac5a6609433fc017d09e1f31750f033a7 (diff) | |
| download | emacs-39bc618abbfc4805d4d7dec195826577ef71da77.tar.gz emacs-39bc618abbfc4805d4d7dec195826577ef71da77.zip | |
Minor fixes for signed vs unsigned integers.
* character.h (MAYBE_UNIFY_CHAR):
* charset.c (maybe_unify_char):
* keyboard.c (read_char, reorder_modifiers):
XINT -> XFASTINT, since the integer must be nonnegative.
* ftfont.c (ftfont_spec_pattern):
* keymap.c (access_keymap, silly_event_symbol_error):
XUINT -> XFASTINT, since the integer must be nonnegative.
(Fsingle_key_description, preferred_sequence_p): XUINT -> XINT,
since it makes no difference and we prefer signed.
* keyboard.c (record_char): Use XUINT when all the neighbors do.
(access_keymap): NATNUMP -> INTEGERP, since the integer must be
nonnegative.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 45d8e38738a..431bd2acdb5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2011-06-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Minor fixes for signed vs unsigned integers. | ||
| 4 | * character.h (MAYBE_UNIFY_CHAR): | ||
| 5 | * charset.c (maybe_unify_char): | ||
| 6 | * keyboard.c (read_char, reorder_modifiers): | ||
| 7 | XINT -> XFASTINT, since the integer must be nonnegative. | ||
| 8 | * ftfont.c (ftfont_spec_pattern): | ||
| 9 | * keymap.c (access_keymap, silly_event_symbol_error): | ||
| 10 | XUINT -> XFASTINT, since the integer must be nonnegative. | ||
| 11 | (Fsingle_key_description, preferred_sequence_p): XUINT -> XINT, | ||
| 12 | since it makes no difference and we prefer signed. | ||
| 13 | * keyboard.c (record_char): Use XUINT when all the neighbors do. | ||
| 14 | (access_keymap): NATNUMP -> INTEGERP, since the integer must be | ||
| 15 | nonnegative. | ||
| 16 | |||
| 1 | 2011-06-02 Paul Eggert <eggert@cs.ucla.edu> | 17 | 2011-06-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 18 | ||
| 3 | Malloc failure behavior now depends on size of allocation. | 19 | Malloc failure behavior now depends on size of allocation. |