]> granicus.if.org Git - python/commitdiff
Repair MS compiler warning about signed-vs-unsigned mismatch. The plane
authorTim Peters <tim.peters@gmail.com>
Sun, 18 Jul 2004 04:34:33 +0000 (04:34 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 18 Jul 2004 04:34:33 +0000 (04:34 +0000)
and width clearly don't need to be signed.

Modules/cjkcodecs/_codecs_iso2022.c

index 63f99e44588efb76ca192cdd609ebe5a315ffa0e..bef11df17a486126ccf7ad08244b84a96ab54555 100644 (file)
@@ -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;