aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/compiler_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/src/compiler_main.cpp')
-rw-r--r--c_compiler/src/compiler_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_compiler/src/compiler_main.cpp b/c_compiler/src/compiler_main.cpp
index 4ac641c..dc2fc17 100644
--- a/c_compiler/src/compiler_main.cpp
+++ b/c_compiler/src/compiler_main.cpp
@@ -12,7 +12,7 @@ int main(int, char**)
{
std::unique_ptr<Node> ast(parseAST());
VariableStackBindings bindings;
- unsigned label_count = 0;
+ int label_count = 0;
ast->printAsm(bindings, label_count);
}
catch(const std::exception& e)