mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
Eliminate additional undefined behavior of bit shifting signed int.
This commit is contained in:
parent
47dc5591b9
commit
a1f83bf0f9
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ namespace data
|
|||
|
||||
size_t Base32ToByteStream (const char * inBuf, size_t len, uint8_t * outBuf, size_t outLen)
|
||||
{
|
||||
int tmp = 0, bits = 0;
|
||||
unsigned int tmp = 0, bits = 0;
|
||||
size_t ret = 0;
|
||||
for (size_t i = 0; i < len; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue