mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
Remove .c_str() calls from parameters to log_file_warning()
This commit is contained in:
parent
a7c46f7b4a
commit
548deba259
3 changed files with 5 additions and 5 deletions
|
@ -49,7 +49,7 @@ void ConstParser::log_maybe_loc_error(std::string msg) {
|
|||
}
|
||||
|
||||
void ConstParser::log_maybe_loc_warn(std::string msg) {
|
||||
log_file_warning(*loc.begin.filename, loc.begin.line, "%s", msg.c_str());
|
||||
log_file_warning(*loc.begin.filename, loc.begin.line, "%s", msg);
|
||||
}
|
||||
|
||||
// divide an arbitrary length decimal number by two and return the rest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue