From: Greg Kroah-Hartman Date: Tue, 9 Apr 2002 19:14:34 +0000 (-0700) Subject: Staging: usbip: fix build warning on 64bit kernels X-Git-Tag: v2.6.28-rc1~34^2 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=51b90540dd03f605122937a999e6d0430238c266;p=linux-2.6-omap-h63xx.git Staging: usbip: fix build warning on 64bit kernels Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/vhci_rx.c b/drivers/staging/usbip/vhci_rx.c index 933ccaf50af..58e3995d0e2 100644 --- a/drivers/staging/usbip/vhci_rx.c +++ b/drivers/staging/usbip/vhci_rx.c @@ -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; }