diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-17 02:22:41 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-17 02:22:41 -0700 |
commit | ac0e9db526dc15cf91f4c45c4586ddcc19e9708c (patch) | |
tree | b5820975a254965d9963fda26d1a3d6644885e58 /027debug.cc | |
parent | 6f8f9fb53b5a7ef26496d496a4b93266c78d6332 (diff) | |
download | mu-ac0e9db526dc15cf91f4c45c4586ddcc19e9708c.tar.gz |
1391 - avoid unsigned integers
Diffstat (limited to '027debug.cc')
-rw-r--r-- | 027debug.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/027debug.cc b/027debug.cc index d472a314..7b96e4e9 100644 --- a/027debug.cc +++ b/027debug.cc @@ -6,13 +6,13 @@ _PRINT, Recipe_number["$print"] = _PRINT; :(before "End Primitive Recipe Implementations") case _PRINT: { - for (index_t i = 0; i < ingredients.size(); ++i) { + for (long long int i = 0; i < SIZE(ingredients); ++i) { if (isa_literal(current_instruction().ingredients.at(i))) { trace("run") << "$print: " << current_instruction().ingredients.at(i).name; cout << current_instruction().ingredients.at(i).name; } else { - for (index_t j = 0; j < ingredients.at(i).size(); ++j) { + for (long long int j = 0; j < SIZE(ingredients.at(i)); ++j) { trace("run") << "$print: " << ingredients.at(i).at(j); if (j > 0) cout << " "; cout << ingredients.at(i).at(j); |