From: Eddie Hung Date: Mon, 8 Jul 2019 17:48:10 +0000 (-0700) Subject: atoi -> stoi as per @daveshah1 X-Git-Tag: working-ls180~1208^2~28 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c58998a7d2c1066ea28cabe9bc6e1e52bb6668f0;p=yosys.git atoi -> stoi as per @daveshah1 --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 0a30848aa..c18c3918f 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -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") {