diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 04:34:33 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 04:34:33 (GMT) |
commit | 91380d5f282b9c680908e4185e75beb5b067c4db (patch) | |
tree | 826bb02465534aaa69a2677f20a7249e3e3a78c7 /Modules/cjkcodecs/_codecs_iso2022.c | |
parent | cc8f997543f5f9d9f802db4e2bfc34c1a6c8d336 (diff) | |
download | cpython-91380d5f282b9c680908e4185e75beb5b067c4db.zip cpython-91380d5f282b9c680908e4185e75beb5b067c4db.tar.gz cpython-91380d5f282b9c680908e4185e75beb5b067c4db.tar.bz2 |
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/_codecs_iso2022.c')
-rw-r--r-- | Modules/cjkcodecs/_codecs_iso2022.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c index 63f99e4..bef11df 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; |