aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/xc5000.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-21 14:20:23 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:14 -0500
commit3f51451b516eeb19d3c1ea311ee8845fc80b5135 (patch)
tree2839084209248ceb6f238e2c91cc077f39ad53a9 /drivers/media/dvb/frontends/xc5000.c
parent7972f9880c8c812332a56da7cfa4523d01ea310b (diff)
V4L/DVB (6894): xc5000: fix build warning
Fix the following build warning: xc5000.c:560: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' On many architectrues size_t is unsigned long, and may not be printed with %d. Use %Zu instead. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/xc5000.c')
-rw-r--r--drivers/media/dvb/frontends/xc5000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/xc5000.c b/drivers/media/dvb/frontends/xc5000.c
index 9edd0711539..106004e1245 100644
--- a/drivers/media/dvb/frontends/xc5000.c
+++ b/drivers/media/dvb/frontends/xc5000.c
@@ -533,7 +533,8 @@ static int xc5000_fwupload(struct dvb_frontend* fe)
533 printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n"); 533 printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n");
534 ret = XC_RESULT_RESET_FAILURE; 534 ret = XC_RESULT_RESET_FAILURE;
535 } else { 535 } else {
536 printk(KERN_INFO "xc5000: firmware read %d bytes.\n", fw->size); 536 printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n",
537 fw->size);
537 ret = XC_RESULT_SUCCESS; 538 ret = XC_RESULT_SUCCESS;
538 } 539 }
539 540