Fix warning where sizeof(size_t) != sizeof(int).

This commit is contained in:
jhb 2002-11-06 18:55:24 +00:00
parent 6a634df290
commit 292fe1c0a4

View File

@ -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;
}