mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #7562 from ethereum/fix-signedness
Fixes signedness (causes compilation failure on MSVC).
This commit is contained in:
		
						commit
						4e1b9d7f1b
					
				| @ -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