3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 19:35:53 +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

@ -103,7 +103,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name, bo
if (len > 0) {
string num_str = wire_name.substr(i+1, len);
int num = std::stoi(num_str) & 0x0fffffff;
int num = atoi(num_str.c_str()) & 0x0fffffff;
blif_maxnum = std::max(blif_maxnum, num);
}
}