mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 19:35:53 +00:00
stoi -> atoi
This commit is contained in:
parent
ee7c970367
commit
48d0f99406
41 changed files with 121 additions and 121 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue