mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix missing int -> string conversion
This commit is contained in:
parent
b837705259
commit
3e51d14c6d
@ -655,7 +655,7 @@ string YulUtilFunctions::arrayConvertLengthToSize(ArrayType const& _type)
|
|||||||
</byteArray>
|
</byteArray>
|
||||||
})")
|
})")
|
||||||
("functionName", functionName)
|
("functionName", functionName)
|
||||||
("elementSize", _type.location() == DataLocation::Memory ? baseType.memoryHeadSize() : baseType.calldataEncodedSize())
|
("elementSize", to_string(_type.location() == DataLocation::Memory ? baseType.memoryHeadSize() : baseType.calldataEncodedSize()))
|
||||||
("byteArray", _type.isByteArray())
|
("byteArray", _type.isByteArray())
|
||||||
("mul", overflowCheckedIntMulFunction(*TypeProvider::uint256()))
|
("mul", overflowCheckedIntMulFunction(*TypeProvider::uint256()))
|
||||||
.render();
|
.render();
|
||||||
|
Loading…
Reference in New Issue
Block a user