mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Small fixes for proper multitype/multiarg SHA3
This commit is contained in:
parent
293344b473
commit
f6586b8139
@ -851,7 +851,7 @@ unsigned ExpressionCompiler::appendArgumentsCopyToMemory(vector<ASTPointer<Expre
|
||||
// without type conversion
|
||||
for (unsigned i = 0; i < _arguments.size(); ++i)
|
||||
{
|
||||
bool wantPadding = (_arguments[i]->getType()->getCategory() == Type::Category::STRING) ? false : true;
|
||||
const bool wantPadding = false;
|
||||
_arguments[i]->accept(*this);
|
||||
length += moveTypeToMemory(*_arguments[i]->getType()->getRealType(), _arguments[i]->getLocation(), _memoryOffset + length, wantPadding);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user