summaryrefslogtreecommitdiff
path: root/passes/techmap
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
committerClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
commitbcc873b805f8ec74422752da530b71d8d762bded (patch)
treeeffe0c5495a8c2a55235bd2db1bd635923d97528 /passes/techmap
parent6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff)
Fixed some visual studio warnings
Diffstat (limited to 'passes/techmap')
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index 19b2bda9..5334ebfa 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()));
}