3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-14 23:05:28 +00:00

stoi -> atoi

This commit is contained in:
Eddie Hung 2019-08-07 11:09:17 -07:00
parent ee7c970367
commit 48d0f99406
41 changed files with 121 additions and 121 deletions

View file

@ -360,11 +360,11 @@ struct TestAutotbBackend : public Backend {
for (argidx = 1; argidx < GetSize(args); argidx++)
{
if (args[argidx] == "-n" && argidx+1 < GetSize(args)) {
num_iter = std::stoi(args[++argidx]);
num_iter = atoi(args[++argidx].c_str());
continue;
}
if (args[argidx] == "-seed" && argidx+1 < GetSize(args)) {
seed = std::stoi(args[++argidx]);
seed = atoi(args[++argidx].c_str());
continue;
}
break;