mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix 32 bit build failure.
This commit is contained in:
parent
ee3bb0475c
commit
ae336fe1c1
@ -160,7 +160,7 @@ bytes solidity::util::ipfsHash(string _data)
|
||||
|
||||
Chunks allChunks;
|
||||
|
||||
for (unsigned long chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++)
|
||||
for (size_t chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++)
|
||||
{
|
||||
bytes chunkBytes = asBytes(
|
||||
_data.substr(chunkIndex * maxChunkSize, min(maxChunkSize, _data.length() - chunkIndex * maxChunkSize))
|
||||
|
Loading…
Reference in New Issue
Block a user