about summary refs log tree commit diff stats
path: root/cpp/027debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/027debug.cc')
-rw-r--r--cpp/027debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/027debug.cc b/cpp/027debug.cc
index d5de1072..167e896b 100644
--- a/cpp/027debug.cc
+++ b/cpp/027debug.cc
@@ -12,7 +12,7 @@ case _PRINT: {
     break;
   }
   vector<int> result(read_memory(current_instruction().ingredients[0]));
-  for (size_t i = 0; i < result.size(); ++i) {
+  for (index_t i = 0; i < result.size(); ++i) {
     trace("run") << "$print: " << result[i];
     if (i > 0) cout << " ";
     cout << result[i];