mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Add unsigned char cast
This commit is contained in:
parent
ec22c92e36
commit
485f2da5a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue