Fix warning where sizeof(size_t) != sizeof(int).
This commit is contained in:
parent
6a634df290
commit
292fe1c0a4
@ -2848,7 +2848,7 @@ flashcard(ifp, l_ioctl)
|
||||
break;
|
||||
case AIROFLPUTBUF: /* Send 32k to card */
|
||||
if (l_ioctl->len > sizeof(flashbuffer)) {
|
||||
printf("an%d: Buffer to big, %x %x\n", sc->an_unit,
|
||||
printf("an%d: Buffer to big, %x %zx\n", sc->an_unit,
|
||||
l_ioctl->len, sizeof(flashbuffer));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user