3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 18:05:24 +00:00

atoi -> stoi as per @daveshah1

This commit is contained in:
Eddie Hung 2019-07-08 10:48:10 -07:00
parent c71ad5482e
commit c58998a7d2

View file

@ -194,7 +194,7 @@ struct SynthXilinxPass : public ScriptPass
continue;
}
if (args[argidx] == "-widemux" && argidx+1 < args.size()) {
widemux = atoi(args[++argidx].c_str());
widemux = std::stoi(args[++argidx]);
continue;
}
if (args[argidx] == "-abc9") {