aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.cc
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-10-12 22:02:29 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-10-12 22:14:49 +0200
commita36d1701dd99736b82f64ed870e7464f2deae220 (patch)
tree0e48a8f61a3acdc291469b9f63638991d7b09ae4 /frontends/ast/ast.cc
parent458a94059e6738d93a87ddb9af282d0e1d28791d (diff)
downloadyosys-a36d1701dd99736b82f64ed870e7464f2deae220.tar.gz
yosys-a36d1701dd99736b82f64ed870e7464f2deae220.tar.bz2
yosys-a36d1701dd99736b82f64ed870e7464f2deae220.zip
Fix build error with clang
Diffstat (limited to 'frontends/ast/ast.cc')
-rw-r--r--frontends/ast/ast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc
index 10fd5277a..b3f78c922 100644
--- a/frontends/ast/ast.cc
+++ b/frontends/ast/ast.cc
@@ -1199,7 +1199,7 @@ RTLIL::IdString AstModule::derive(RTLIL::Design *design, dict<RTLIL::IdString, R
new_subcell->set_bool_attribute("\\is_interface");
}
else {
- log_error("No port with matching name found (%s) in %s. Stopping\n", log_id(intf.first), modname);
+ log_error("No port with matching name found (%s) in %s. Stopping\n", log_id(intf.first), modname.c_str());
}
}