aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds/tee.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/cmds/tee.cc')
-rw-r--r--passes/cmds/tee.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/tee.cc b/passes/cmds/tee.cc
index 1a44bdaec..e0a74099a 100644
--- a/passes/cmds/tee.cc
+++ b/passes/cmds/tee.cc
@@ -79,7 +79,7 @@ struct TeePass : public Pass {
continue;
}
if (GetSize(args[argidx]) >= 2 && (args[argidx][0] == '-' || args[argidx][0] == '+') && args[argidx][1] >= '0' && args[argidx][1] <= '9') {
- log_verbose_level += atoi(args[argidx].c_str());
+ log_verbose_level += std::stoi(args[argidx]);
continue;
}
break;