Removed signed shift right from the utilities.

This commit is contained in:
chriseth authored and Alex Beregszaszi committed 2018-04-30 20:34:43 +01:00
1 parent 52c9441879
commit 2968639406
6 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc
else if (m_dataType->category() == Type::Category::FixedBytes)
{
solAssert(_sourceType.category() == Type::Category::FixedBytes, "source not fixed bytes");
CompilerUtils(m_context).rightShiftNumberOnStack(256 - 8 * dynamic_cast<FixedBytesType const&>(*m_dataType).numBytes(), false);
CompilerUtils(m_context).rightShiftNumberOnStack(256 - 8 * dynamic_cast<FixedBytesType const&>(*m_dataType).numBytes());
}
else
{