3
0
Fork 0
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:
Robert O'Callahan 2025-09-16 23:03:45 +00:00
parent a7c46f7b4a
commit 548deba259
3 changed files with 5 additions and 5 deletions

View file

@ -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