summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net/if_aue.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/net/if_aue.c')
-rw-r--r--sys/dev/usb/net/if_aue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/net/if_aue.c b/sys/dev/usb/net/if_aue.c
index fdee6b7..33ed236 100644
--- a/sys/dev/usb/net/if_aue.c
+++ b/sys/dev/usb/net/if_aue.c
@@ -740,7 +740,7 @@ aue_intr_callback(struct usb_xfer *xfer, usb_error_t error)
case USB_ST_TRANSFERRED:
if ((ifp->if_drv_flags & IFF_DRV_RUNNING) &&
- actlen >= sizeof(pkt)) {
+ actlen >= (int)sizeof(pkt)) {
pc = usbd_xfer_get_frame(xfer, 0);
usbd_copy_out(pc, 0, &pkt, sizeof(pkt));
@@ -793,7 +793,7 @@ aue_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
}
} else {
- if (actlen <= sizeof(stat) + ETHER_CRC_LEN) {
+ if (actlen <= (int)(sizeof(stat) + ETHER_CRC_LEN)) {
ifp->if_ierrors++;
goto tr_setup;
}
OpenPOWER on IntegriCloud