summaryrefslogtreecommitdiff
path: root/src/controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.cc')
-rw-r--r--src/controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.cc b/src/controller.cc
index a5c6691..e439b30 100644
--- a/src/controller.cc
+++ b/src/controller.cc
@@ -35,7 +35,7 @@ Controller::Controller(Stage *stage, Storage *storage, bool is_pipelined)
this->gprs.at(2) = MEM_WORDS; // set the stack pointer
}
-void Controller::run_for(int number)
+void Controller::run_for(long number)
{
int i;
for (i = 0; i < number; ++i) {