[media] lirc_igorplugusb: Fix a compilation waring
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Oct 2010 12:36:43 +0000 (09:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:17:01 +0000 (01:17 -0200)
drivers/staging/lirc/lirc_igorplugusb.c: In function ‘usb_remote_probe’:
drivers/staging/lirc/lirc_igorplugusb.c:393: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘unsigned int’

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_igorplugusb.c

index bce600ede263125243481762f23b90b24c247f39..e680d88971064020c07f90d0920c9e81c025fa57 100644 (file)
@@ -390,7 +390,7 @@ static int usb_remote_probe(struct usb_interface *intf,
        devnum = dev->devnum;
        maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe));
 
-       dprintk(DRIVER_NAME "[%d]: bytes_in_key=%lu maxp=%d\n",
+       dprintk(DRIVER_NAME "[%d]: bytes_in_key=%zu maxp=%d\n",
                devnum, CODE_LENGTH, maxp);