Skip to content

Commit 624ef25

Browse files
committed
Fix some compiler warnings.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 7370d94 commit 624ef25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ static void build_rr_graph(const t_graph_type graph_type,
697697
// Using num_rr_nodes here over device_ctx.rr_nodes.size() because
698698
// clock_modeling::DEDICATED_NETWORK will append some rr nodes after
699699
// the regular graph.
700-
for (size_t i = 0; i < num_rr_nodes; i++) {
700+
for (int i = 0; i < num_rr_nodes; i++) {
701701
if (device_ctx.rr_nodes[i].type() == CHANX) {
702702
int ylow = device_ctx.rr_nodes[i].ylow();
703703
device_ctx.rr_nodes[i].set_capacity(nodes_per_chan.x_list[ylow]);
@@ -1311,8 +1311,8 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(std::vector<t_
13111311
uniquify_edges(rr_edges_to_create);
13121312
alloc_and_load_edges(L_rr_node, rr_edges_to_create);
13131313
rr_edges_to_create.clear();
1314-
update_chan_width = [builder](t_chan_width* chan_width) {
1315-
builder.update_chan_width(chan_width);
1314+
update_chan_width = [builder](t_chan_width* c) {
1315+
builder.update_chan_width(c);
13161316
};
13171317
}
13181318

0 commit comments

Comments
 (0)