aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-07 11:09:17 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-07 11:09:17 -0700
commit48d0f994064557dc0832748e17133ee2eac88cbf (patch)
treeff80fabc1b2196356dd3ebf0536b2d75e145282d /techlibs/common
parentee7c970367c68fe1a02a237ed01f2845a03cf9b2 (diff)
downloadyosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.gz
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.bz2
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.zip
stoi -> atoi
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/synth.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/common/synth.cc b/techlibs/common/synth.cc
index 432ab3217..555de9fba 100644
--- a/techlibs/common/synth.cc
+++ b/techlibs/common/synth.cc
@@ -140,7 +140,7 @@ struct SynthPass : public ScriptPass
continue;
}
if (args[argidx] == "-lut") {
- lut = std::stoi(args[++argidx]);
+ lut = atoi(args[++argidx].c_str());
continue;
}
if (args[argidx] == "-nofsm") {