mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-26 18:11:03 +02:00
Fix comparison type mismatch warnings
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
This commit is contained in:
committed by
Oliver Hartkopp
parent
2c87dcf468
commit
46895a41c5
+1
-1
@@ -405,7 +405,7 @@ int handle_keyb(void)
|
||||
unsigned int mask;
|
||||
unsigned int value;
|
||||
|
||||
if (read(0, cmd, 24) > strlen("+1234567812345678\n"))
|
||||
if (read(0, cmd, 24) > (long)strlen("+1234567812345678\n"))
|
||||
return 1; /* ignore */
|
||||
|
||||
if (strlen(cmd) > 0)
|
||||
|
||||
Reference in New Issue
Block a user