diff options
author | Guido van Rossum <guido@python.org> | 1996-02-25 04:50:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-02-25 04:50:30 (GMT) |
commit | 485f2da5a1fc799c0fbe87f61646b0a28af59cbf (patch) | |
tree | 6eb1bf0f6baeb7bc3496b35ef129eb2dbf8b95a1 /Modules | |
parent | ec22c92e367db0af8c147d388b6a4d0e6b480326 (diff) | |
download | cpython-485f2da5a1fc799c0fbe87f61646b0a28af59cbf.zip cpython-485f2da5a1fc799c0fbe87f61646b0a28af59cbf.tar.gz cpython-485f2da5a1fc799c0fbe87f61646b0a28af59cbf.tar.bz2 |
Add unsigned char cast
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/binascii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 95d7bb0..c74ed3c 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -351,7 +351,7 @@ binascii_a2b_base64(self, args) if ( this_ch == BASE64_PAD ) npad++; this_ch = table_a2b_base64[(*ascii_data) & 0x7f]; - if ( this_ch == -1 ) continue; + if ( this_ch == (unsigned char) -1 ) continue; /* ** Shift it in on the low end, and see if there's ** a byte ready for output. |