diff options
Diffstat (limited to 'mistral/archdefs.h')
-rw-r--r-- | mistral/archdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/archdefs.h b/mistral/archdefs.h index 5fd02ad5..60bdcfeb 100644 --- a/mistral/archdefs.h +++ b/mistral/archdefs.h @@ -98,7 +98,7 @@ struct WireId bool is_nextpnr_created() const { NPNR_ASSERT(node != invalid_rnode); - return CycloneV::rn2t(node) >= 128; + return unsigned(CycloneV::rn2t(node)) >= 128; } bool operator==(const WireId &other) const { return node == other.node; } |