Fix for int conversion compiler warning.
This commit is contained in:
parent
5582df13d7
commit
a45aa73a4a
|
@ -194,7 +194,7 @@ static const struct Base64Table
|
|||
data[62] = '+'; // 62
|
||||
data[63] = '/'; // 63
|
||||
// create ascii->value mapping (but due to overlap, write it to highbit region)
|
||||
for(a=0; a<64; ++a) data[data[a]^0x80] = a; //
|
||||
for(a=0; a<64; ++a) data[data[a]^0x80] = static_cast<unsigned char>(a); //
|
||||
data[((unsigned char)'=') ^ 0x80] = 0;
|
||||
}
|
||||
unsigned char operator[] (size_t pos) const { return data[pos]; }
|
||||
|
|
Loading…
Reference in New Issue