aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-01-29 10:02:12 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-02 07:34:56 -0800
commit16394d3158f6dc608f8fcbbcac96f851824915bd (patch)
treede579d63581273215722f4e6838ba89bf638b2bd /common
parent0338368afa369d097dfb35e0705fef10baa3d20e (diff)
downloadnextpnr-16394d3158f6dc608f8fcbbcac96f851824915bd.tar.gz
nextpnr-16394d3158f6dc608f8fcbbcac96f851824915bd.tar.bz2
nextpnr-16394d3158f6dc608f8fcbbcac96f851824915bd.zip
Address some compiler warnings.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'common')
-rw-r--r--common/placer_heap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index af073873..cc9f5c36 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -1065,7 +1065,7 @@ class HeAPPlacer
CutSpreader(HeAPPlacer *p, const std::unordered_set<PartitionId> &partitions) : p(p), ctx(p->ctx), partitions(partitions)
{
// Get fast BELs data for all partitions being Cut/Spread.
- int idx = 0;
+ size_t idx = 0;
for (PartitionId partition : sorted(partitions)) {
type_index[partition] = idx;
FastBels::FastBelsData *fast_bels;