diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-03 15:23:01 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-04 16:38:33 -0800 |
commit | d8fa9d7f36f664b454daa0e7fba66eeca7c9c616 (patch) | |
tree | a9be6264401cc98273d5e10f35c32c086ecd7824 | |
parent | d4f66a73c11c637666a5c4d76a1aadbbf9b919e7 (diff) | |
download | nextpnr-d8fa9d7f36f664b454daa0e7fba66eeca7c9c616.tar.gz nextpnr-d8fa9d7f36f664b454daa0e7fba66eeca7c9c616.tar.bz2 nextpnr-d8fa9d7f36f664b454daa0e7fba66eeca7c9c616.zip |
Fix warnings with signed/unsigned.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
-rw-r--r-- | fpga_interchange/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.cc b/fpga_interchange/arch.cc index b7c83434..0dc5bdc5 100644 --- a/fpga_interchange/arch.cc +++ b/fpga_interchange/arch.cc @@ -77,7 +77,7 @@ Arch::Arch(ArchArgs args) : args(args) // Sanity check cell name ids. const CellMapPOD &cell_map = *chip_info->cell_map; int32_t first_cell_id = cell_map.cell_names[0]; - for (size_t i = 0; i < cell_map.number_cells; ++i) { + for (int32_t i = 0; i < cell_map.number_cells; ++i) { log_assert(cell_map.cell_names[i] == i + first_cell_id); } } |