Add unsigned char cast
This commit is contained in:
parent
ec22c92e36
commit
485f2da5a1
|
@ -351,7 +351,7 @@ binascii_a2b_base64(self, args)
|
||||||
if ( this_ch == BASE64_PAD )
|
if ( this_ch == BASE64_PAD )
|
||||||
npad++;
|
npad++;
|
||||||
this_ch = table_a2b_base64[(*ascii_data) & 0x7f];
|
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
|
** Shift it in on the low end, and see if there's
|
||||||
** a byte ready for output.
|
** a byte ready for output.
|
||||||
|
|
Loading…
Reference in New Issue