aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/extract_counter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/techmap/extract_counter.cc')
-rw-r--r--passes/techmap/extract_counter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/extract_counter.cc b/passes/techmap/extract_counter.cc
index da56e087b..a8d0bc834 100644
--- a/passes/techmap/extract_counter.cc
+++ b/passes/techmap/extract_counter.cc
@@ -613,7 +613,7 @@ struct ExtractCounterPass : public Pass {
if (args[argidx] == "-maxwidth" && argidx+1 < args.size())
{
- maxwidth = std::stoi(args[++argidx]);
+ maxwidth = atoi(args[++argidx].c_str());
continue;
}
}