mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +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
@@ -365,7 +365,7 @@ int main(int argc, char **argv)
|
||||
percent = 100;
|
||||
|
||||
for (i=0; i < NUMBAR; i++){
|
||||
if (i < percent/PERCENTRES)
|
||||
if (i < (int)(percent/PERCENTRES))
|
||||
printf("X");
|
||||
else
|
||||
printf(".");
|
||||
|
||||
Reference in New Issue
Block a user