]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/usbip/vhci_rx.c
Staging: usbip: fix build warning on 64bit kernels
[linux-2.6-omap-h63xx.git] / drivers / staging / usbip / vhci_rx.c
index 933ccaf50afbb737bc09e2d615e9c639eed6f511..58e3995d0e2ce169ba9bea352b97271315ca9cf4 100644 (file)
@@ -202,7 +202,7 @@ static void vhci_rx_pdu(struct usbip_device *ud)
        ret = usbip_xmit(0, ud->tcp_socket, (char *) &pdu, sizeof(pdu), 0);
        if (ret != sizeof(pdu)) {
                uerr("receiving pdu failed! size is %d, should be %d\n",
-                               ret, sizeof(pdu));
+                               ret, (unsigned int)sizeof(pdu));
                usbip_event_add(ud, VDEV_EVENT_ERROR_TCP);
                return;
        }