summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Shell/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Shell/main.cpp b/Shell/main.cpp
index 5e8877a563..cf7f330666 100644
--- a/Shell/main.cpp
+++ b/Shell/main.cpp
@@ -755,15 +755,15 @@ static int run_command(const String& cmd)
#ifdef SH_DEBUG
for (auto& command : commands) {
- for (int i = 0; i < command.subcommands.size(); ++i) {
- for (int j = 0; j < i; ++j)
+ for (size_t i = 0; i < command.subcommands.size(); ++i) {
+ for (size_t j = 0; j < i; ++j)
dbgprintf(" ");
for (auto& arg : command.subcommands[i].args) {
dbgprintf("<%s> ", arg.characters());
}
dbgprintf("\n");
for (auto& redirecton : command.subcommands[i].redirections) {
- for (int j = 0; j < i; ++j)
+ for (size_t j = 0; j < i; ++j)
dbgprintf(" ");
dbgprintf(" ");
switch (redirecton.type) {