From 16394d3158f6dc608f8fcbbcac96f851824915bd Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Fri, 29 Jan 2021 10:02:12 -0800 Subject: Address some compiler warnings. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- common/placer_heap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 &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; -- cgit v1.2.3