mirror of https://github.com/YosysHQ/yosys.git
atoi -> stoi as per @daveshah1
This commit is contained in:
parent
c71ad5482e
commit
c58998a7d2
|
@ -194,7 +194,7 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-widemux" && argidx+1 < args.size()) {
|
if (args[argidx] == "-widemux" && argidx+1 < args.size()) {
|
||||||
widemux = atoi(args[++argidx].c_str());
|
widemux = std::stoi(args[++argidx]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-abc9") {
|
if (args[argidx] == "-abc9") {
|
||||||
|
|
Loading…
Reference in New Issue