Browse Source

Stylistic changes.

cl-refactor
chriseth 10 years ago
parent
commit
b85638183d
  1. 2
      libsolidity/ExpressionCompiler.cpp

2
libsolidity/ExpressionCompiler.cpp

@ -372,9 +372,7 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
if (_typeOnStack == _targetType && !_cleanupNeeded)
return;
if (_typeOnStack.getCategory() == Type::Category::INTEGER)
{
appendHighBitsCleanup(dynamic_cast<IntegerType const&>(_typeOnStack));
}
else if (_typeOnStack != _targetType)
{
// All other types should not be convertible to non-equal types.

Loading…
Cancel
Save