aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerContext.cpp')
-rw-r--r--CompilerContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CompilerContext.cpp b/CompilerContext.cpp
index 18357bf0..5d10a5f9 100644
--- a/CompilerContext.cpp
+++ b/CompilerContext.cpp
@@ -53,8 +53,8 @@ void CompilerContext::addAndInitializeVariable(VariableDeclaration const& _decla
{
addVariable(_declaration);
- unsigned const size = _declaration.getType()->getSizeOnStack();
- for (unsigned i = 0; i < size; ++i)
+ int const size = _declaration.getType()->getSizeOnStack();
+ for (int i = 0; i < size; ++i)
*this << u256(0);
m_asm.adjustDeposit(-size);
}