summaryrefslogtreecommitdiff
path: root/kernel/log.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-02 18:58:40 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-02 18:58:40 +0200
commit04727c7e0fb4c00b38999da192e4ada2a6f9474a (patch)
tree5cedd8807a1d846d5bd6790bfde555b70b8c283b /kernel/log.cc
parent768eb846c4473040dc07bf62ce631c8a21474ae8 (diff)
No implicit conversion from IdString to anything else
Diffstat (limited to 'kernel/log.cc')
-rw-r--r--kernel/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index 01f6207e..81cc26da 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -215,7 +215,7 @@ const char *log_signal(const RTLIL::SigSpec &sig, bool autoint)
const char *log_id(RTLIL::IdString str)
{
- const char *p = str;
+ const char *p = str.c_str();
log_assert(RTLIL::IdString::global_refcount_storage_[str.index_] > 1);
if (p[0] == '\\' && p[1] != '$' && p[1] != 0)
return p+1;