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
@@ -583,7 +583,7 @@ void snprintf_can_error_frame(char *buf, size_t len, const struct canfd_frame *c
if (!sep)
sep = defsep;
for (i = 0; i < ARRAY_SIZE(error_classes); i++) {
for (i = 0; i < (int)ARRAY_SIZE(error_classes); i++) {
mask = 1 << i;
if (class & mask) {
if (classes)