Staging: cpc-usb: fix build warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Jun 2009 18:29:54 +0000 (11:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:53 +0000 (11:00 -0700)
This fixes some build warnings in the cpc-usb driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cpc-usb/cpc-usb_drv.c

index f13db7264e357e85e9991b3fb3d85a6d7d3b3158..9bf3f98c6825688851ee0008688bb7c82ea17eee 100644 (file)
@@ -1032,7 +1032,7 @@ static int cpcusb_probe(struct usb_interface *interface,
                goto error;
        }
        info("Allocated memory for %d messages (%lu kbytes)",
-            CPC_MSG_BUF_CNT, (sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000);
+            CPC_MSG_BUF_CNT, (long unsigned int)(sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT) / 1000);
        memset(chan->buf, 0, sizeof(CPC_MSG_T) * CPC_MSG_BUF_CNT);
 
        ResetBuffer(chan);