mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes signedness (causes compilation failure on MSVC).
This commit is contained in:
parent
3029c30fc9
commit
76c72ba89f
@ -769,7 +769,7 @@ bool ContractCompiler::visit(TryStatement const& _tryStatement)
|
||||
CompilerContext::LocationSetter locationSetter(m_context, _tryStatement);
|
||||
|
||||
compileExpression(_tryStatement.externalCall());
|
||||
unsigned returnSize = _tryStatement.externalCall().annotation().type->sizeOnStack();
|
||||
int const returnSize = static_cast<int>(_tryStatement.externalCall().annotation().type->sizeOnStack());
|
||||
|
||||
// Stack: [ return values] <success flag>
|
||||
eth::AssemblyItem successTag = m_context.appendConditionalJump();
|
||||
|
Loading…
Reference in New Issue
Block a user