Fix build error with clang
authorRuben Undheim <ruben.undheim@gmail.com>
Fri, 12 Oct 2018 20:02:29 +0000 (22:02 +0200)
committerRuben Undheim <ruben.undheim@gmail.com>
Fri, 12 Oct 2018 20:14:49 +0000 (22:14 +0200)
frontends/ast/ast.cc

index 10fd5277a4b802d7cc0fee85b764a1f4fb051699..b3f78c9225246006db46d6b78e40c16640367722 100644 (file)
@@ -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());
                        }
                }