Fix comparison type mismatch warnings

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
This commit is contained in:
Gary Bisson
2020-05-28 20:54:37 +02:00
committed by Oliver Hartkopp
parent 2c87dcf468
commit 46895a41c5
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ int main(int argc, char **argv)
addr.can_family = AF_CAN;
addr.can_ifindex = ifr.ifr_ifindex;
if (required_mtu > CAN_MTU) {
if (required_mtu > (int)CAN_MTU) {
/* check if the frame fits into the CAN netdevice */
if (ioctl(s, SIOCGIFMTU, &ifr) < 0) {