diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-21 14:20:23 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-21 14:20:23 -0500 |
commit | 98ffc22a8582b18d205c8c70d6c9f5e722d35520 (patch) | |
tree | 4067353a7596b2b5be05766d9a16a406fdd8714a /linux/drivers | |
parent | 4bf4fe7960ba0df383a5a6346ebeb9c04817a7ba (diff) | |
download | mediapointer-dvb-s2-98ffc22a8582b18d205c8c70d6c9f5e722d35520.tar.gz mediapointer-dvb-s2-98ffc22a8582b18d205c8c70d6c9f5e722d35520.tar.bz2 |
xc5000: fix build warning
From: Michael Krufky <mkrufky@linuxtv.org>
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.
Cc: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/frontends/xc5000.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/xc5000.c b/linux/drivers/media/dvb/frontends/xc5000.c index 464fd3f46..86483bc2a 100644 --- a/linux/drivers/media/dvb/frontends/xc5000.c +++ b/linux/drivers/media/dvb/frontends/xc5000.c @@ -557,7 +557,8 @@ static int xc5000_fwupload(struct dvb_frontend* fe) printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n"); ret = XC_RESULT_RESET_FAILURE; } else { - printk(KERN_INFO "xc5000: firmware read %d bytes.\n", fw->size); + printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n", + fw->size); ret = XC_RESULT_SUCCESS; } |