aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds/add.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/cmds/add.cc')
-rw-r--r--passes/cmds/add.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/add.cc b/passes/cmds/add.cc
index af6f7043d..971de1d00 100644
--- a/passes/cmds/add.cc
+++ b/passes/cmds/add.cc
@@ -130,7 +130,7 @@ struct AddPass : public Pass {
if (arg == "-global_input")
arg_flag_global = true;
arg_name = args[++argidx];
- arg_width = atoi(args[++argidx].c_str());
+ arg_width = std::stoi(args[++argidx]);
continue;
}
break;