diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
commit | bcc873b805f8ec74422752da530b71d8d762bded (patch) | |
tree | effe0c5495a8c2a55235bd2db1bd635923d97528 /passes/techmap | |
parent | 6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff) | |
download | yosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.gz yosys-bcc873b805f8ec74422752da530b71d8d762bded.tar.bz2 yosys-bcc873b805f8ec74422752da530b71d8d762bded.zip |
Fixed some visual studio warnings
Diffstat (limited to 'passes/techmap')
-rw-r--r-- | passes/techmap/techmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 19b2bda9c..5334ebfaf 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -313,7 +313,7 @@ struct TechmapWorker if (c->type == "$memrd" || c->type == "$memwr" || c->type == "$meminit") { IdString memid = c->getParam("\\MEMID").decode_string(); - log_assert(memory_renames.count(memid)); + log_assert(memory_renames.count(memid) != 0); c->setParam("\\MEMID", Const(memory_renames[memid].str())); } |