aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2011-09-24 18:28:59 -0700
committerPaul Eggert2011-09-24 18:28:59 -0700
commit47664caabe10c081360a1dcf58492163e9f5b43c (patch)
tree473c3b55ce68697e7f001bbbdb60b39821e6ca17 /src/coding.c
parent60ad3eab6fe6e4278cf7674606357bd8d79c5d68 (diff)
downloademacs-47664caabe10c081360a1dcf58492163e9f5b43c.tar.gz
emacs-47664caabe10c081360a1dcf58492163e9f5b43c.zip
* coding.c (ENCODE_ISO_CHARACTER): Use unsigned, not int,
to store the unsigned result of ENCODE_CHAR.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 704d26f3f9b..44506476794 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4185,7 +4185,7 @@ decode_coding_iso_2022 (struct coding_system *coding)
4185 4185
4186#define ENCODE_ISO_CHARACTER(charset, c) \ 4186#define ENCODE_ISO_CHARACTER(charset, c) \
4187 do { \ 4187 do { \
4188 int code = ENCODE_CHAR ((charset), (c)); \ 4188 unsigned code = ENCODE_CHAR ((charset), (c)); \
4189 \ 4189 \
4190 if (CHARSET_DIMENSION (charset) == 1) \ 4190 if (CHARSET_DIMENSION (charset) == 1) \
4191 ENCODE_ISO_CHARACTER_DIMENSION1 ((charset), code); \ 4191 ENCODE_ISO_CHARACTER_DIMENSION1 ((charset), code); \