Skip to content

Commit bc34ac5

Browse files
committed
dpdk: squelch a warning.
See issue #1543.
1 parent b741ecc commit bc34ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcap-dpdk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ static uint16_t portid_by_device(char * device)
549549
return ret;
550550
}
551551
//check all chars are digital
552-
for (int i=prefix_len; device[i]; i++){
552+
for (size_t i=prefix_len; device[i]; i++){
553553
if (device[i]<'0' || device[i]>'9'){
554554
return ret;
555555
}

0 commit comments

Comments
 (0)