diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-01-29 10:02:12 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-02 07:34:56 -0800 |
commit | 16394d3158f6dc608f8fcbbcac96f851824915bd (patch) | |
tree | de579d63581273215722f4e6838ba89bf638b2bd | |
parent | 0338368afa369d097dfb35e0705fef10baa3d20e (diff) | |
download | nextpnr-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>
-rw-r--r-- | common/placer_heap.cc | 2 |
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; |