From: Tim Peters Date: Sun, 18 Jul 2004 04:34:33 +0000 (+0000) Subject: Repair MS compiler warning about signed-vs-unsigned mismatch. The plane X-Git-Tag: v2.4a2~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91380d5f282b9c680908e4185e75beb5b067c4db;p=python Repair MS compiler warning about signed-vs-unsigned mismatch. The plane and width clearly don't need to be signed. --- 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;