Skip to content

Commit fed0456

Browse files
committed
vpr: Fix compilation warning
1 parent dd861ea commit fed0456

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vpr/test/test_vpr.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ TEST_CASE("read_rr_graph_metadata", "[vpr]") {
115115

116116
const auto& device_ctx = g_vpr_ctx.device();
117117

118-
int inode;
119-
for(inode = 0; inode < device_ctx.rr_nodes.size(); ++inode) {
118+
for(int inode = 0; inode < (int) device_ctx.rr_nodes.size(); ++inode) {
120119
if((device_ctx.rr_nodes[inode].type() == CHANX ||
121120
device_ctx.rr_nodes[inode].type() == CHANY) &&
122121
device_ctx.rr_nodes[inode].num_edges() > 0) {

0 commit comments

Comments
 (0)