Staging: usbip: fix build warning on 64bit kernels
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Apr 2002 19:14:34 +0000 (12:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 16:56:40 +0000 (09:56 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_rx.c

index 933ccaf..58e3995 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;
        }