mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-19 04:10:18 -08:00
* coding.c (ENCODE_ISO_CHARACTER): Use unsigned, not int,
to store the unsigned result of ENCODE_CHAR.
This commit is contained in:
parent
60ad3eab6f
commit
47664caabe
2 changed files with 3 additions and 1 deletions
|
|
@ -4185,7 +4185,7 @@ decode_coding_iso_2022 (struct coding_system *coding)
|
|||
|
||||
#define ENCODE_ISO_CHARACTER(charset, c) \
|
||||
do { \
|
||||
int code = ENCODE_CHAR ((charset), (c)); \
|
||||
unsigned code = ENCODE_CHAR ((charset), (c)); \
|
||||
\
|
||||
if (CHARSET_DIMENSION (charset) == 1) \
|
||||
ENCODE_ISO_CHARACTER_DIMENSION1 ((charset), code); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue