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 /kernel/modtools.h | |
parent | 6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff) |
Fixed some visual studio warnings
Diffstat (limited to 'kernel/modtools.h')
-rw-r--r-- | kernel/modtools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/modtools.h b/kernel/modtools.h index 1480ec71..ffcb48d4 100644 --- a/kernel/modtools.h +++ b/kernel/modtools.h @@ -180,8 +180,8 @@ struct ModIndex : public RTLIL::Monitor { RTLIL::SigBit lhs = sigmap(sigsig.first[i]); RTLIL::SigBit rhs = sigmap(sigsig.second[i]); - bool has_lhs = database.count(lhs); - bool has_rhs = database.count(rhs); + bool has_lhs = database.count(lhs) != 0; + bool has_rhs = database.count(rhs) != 0; if (!has_lhs && !has_rhs) { sigmap.add(lhs, rhs); |