diff options
| author | Paul Eggert | 2011-06-05 22:48:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-05 22:48:28 -0700 |
| commit | 0c671da60d26675102b8d690d1d9cd82c2fe6d13 (patch) | |
| tree | c7aaf3ce2bd8bdf36c00bc796f0ff04dc48a79a7 /src/ChangeLog | |
| parent | 4d09bcf621ec32e17fdb8dd2ea08344486f7aeef (diff) | |
| parent | 39bc618abbfc4805d4d7dec195826577ef71da77 (diff) | |
| download | emacs-0c671da60d26675102b8d690d1d9cd82c2fe6d13.tar.gz emacs-0c671da60d26675102b8d690d1d9cd82c2fe6d13.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 230e282e210..05d0baa3ac5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,21 @@ | |||
| 1 | 2011-06-06 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-06-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 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 | |||
| 17 | 2011-06-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 18 | |||
| 3 | * alloc.c (memory_full) [SYSTEM_MALLOC]: Port to MacOS (Bug#8800). | 19 | * alloc.c (memory_full) [SYSTEM_MALLOC]: Port to MacOS (Bug#8800). |
| 4 | Do not assume that spare memory exists; that assumption is valid | 20 | Do not assume that spare memory exists; that assumption is valid |
| 5 | only if SYSTEM_MALLOC. | 21 | only if SYSTEM_MALLOC. |