1
Fork 0
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:
Paul Eggert 2011-09-24 18:28:59 -07:00
parent 60ad3eab6f
commit 47664caabe
2 changed files with 3 additions and 1 deletions

View file

@ -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); \