summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smsusb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-28 16:53:45 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-28 16:53:45 -0400
commit6a92e20d0639ce172f0c7c28476a6c2b0d545ae5 (patch)
tree1867036d38c7aeca94d48627123f9eb65d4b036e /linux/drivers/media/dvb/siano/smsusb.c
parent0e985540faf81db4b23e2cede9eb88aaa354a880 (diff)
downloadmediapointer-dvb-s2-6a92e20d0639ce172f0c7c28476a6c2b0d545ae5.tar.gz
mediapointer-dvb-s2-6a92e20d0639ce172f0c7c28476a6c2b0d545ae5.tar.bz2
sms1xxx: fix warning: format '%d' expects type 'int', but argument x has type 'size_t'
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following 64bit build warning: make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic' CC [M] smscoreapi.o smscoreapi.c: In function 'smscore_load_firmware_from_file': smscoreapi.c:604: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' CC [M] smsusb.o smsusb.c: In function 'smsusb1_load_firmware': smsusb.c:216: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' smsusb.c:223: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smsusb.c')
-rw-r--r--linux/drivers/media/dvb/siano/smsusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/siano/smsusb.c b/linux/drivers/media/dvb/siano/smsusb.c
index ca9eb7820..2e362c8aa 100644
--- a/linux/drivers/media/dvb/siano/smsusb.c
+++ b/linux/drivers/media/dvb/siano/smsusb.c
@@ -213,14 +213,14 @@ static int smsusb1_load_firmware(struct usb_device *udev, int id)
rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 2),
fw_buffer, fw->size, &dummy, 1000);
- sms_info("sent %d(%d) bytes, rc %d", fw->size, dummy, rc);
+ sms_info("sent %zd(%d) bytes, rc %d", fw->size, dummy, rc);
kfree(fw_buffer);
} else {
sms_err("failed to allocate firmware buffer");
rc = -ENOMEM;
}
- sms_info("read FW %s, size=%d", smsusb1_fw_lkup[id], fw->size);
+ sms_info("read FW %s, size=%zd", smsusb1_fw_lkup[id], fw->size);
release_firmware(fw);