summaryrefslogtreecommitdiff
path: root/Modules/cjkcodecs
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 04:34:33 +0000
committerTim Peters <tim.peters@gmail.com>2004-07-18 04:34:33 +0000
commitadd88845dc92181e896139b3ea055decb3c87bdd (patch)
tree340aacf54702ce29fa7768abfb8f900c379a5d1f /Modules/cjkcodecs
parent46f641427a59b4477fb4e98a06409bc782e14756 (diff)
downloadcpython-add88845dc92181e896139b3ea055decb3c87bdd.tar.gz
Repair MS compiler warning about signed-vs-unsigned mismatch. The plane
and width clearly don't need to be signed.
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r--Modules/cjkcodecs/_codecs_iso2022.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c
index 63f99e4458..bef11df17a 100644
--- a/Modules/cjkcodecs/_codecs_iso2022.c
+++ b/Modules/cjkcodecs/_codecs_iso2022.c
@@ -108,8 +108,8 @@ typedef DBCHAR (*iso2022_encode_func)(const ucs4_t *data, int *length);
struct iso2022_designation {
unsigned char mark;
- char plane;
- char width;
+ unsigned char plane;
+ unsigned char width;
iso2022_init_func initializer;
iso2022_decode_func decoder;
iso2022_encode_func encoder;