diff options
author | gatecat <gatecat@ds0.me> | 2021-06-02 10:44:03 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-02 10:44:03 +0100 |
commit | cbedf52342ce88144e1efc69094f1dadac9b19f1 (patch) | |
tree | 1e837e6d0db8ae57eb0a5709d986f670f6d19533 /mistral/archdefs.h | |
parent | 2bef7b5f7bf2160c3918e9ab312ec96a1162cc50 (diff) | |
download | nextpnr-cbedf52342ce88144e1efc69094f1dadac9b19f1.tar.gz nextpnr-cbedf52342ce88144e1efc69094f1dadac9b19f1.tar.bz2 nextpnr-cbedf52342ce88144e1efc69094f1dadac9b19f1.zip |
mistral: Fix nextpnr build with LLVM
Signed-off-by: gatecat <gatecat@ds0.me>
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; } |