aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-02-10 18:13:25 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 09:15:17 -0500
commit83947d307d63dc0c30ab0809714f0bcbbdf8c3e2 (patch)
tree1edd6b0a9b679d5abef1b92a11bc76a63817712a
parent61b080d214c4dba91fb726169fb0c3f0e8de4b45 (diff)
V4L/DVB (7183): radio-si470x: fix build warning
fix the following build warning: radio-si470x.c: In function 'si470x_get_rds_registers': radio-si470x.c:562: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int' Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/radio/radio-si470x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-si470x.c b/drivers/media/radio/radio-si470x.c
index 204577eb287b..d428c3aa2bf9 100644
--- a/drivers/media/radio/radio-si470x.c
+++ b/drivers/media/radio/radio-si470x.c
@@ -558,7 +558,7 @@ static int si470x_get_rds_registers(struct si470x_device *radio)
558 (void *) &buf, sizeof(buf), &size, usb_timeout); 558 (void *) &buf, sizeof(buf), &size, usb_timeout);
559 if (size != sizeof(buf)) 559 if (size != sizeof(buf))
560 printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_register: " 560 printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_register: "
561 "return size differs: %d != %ld\n", size, sizeof(buf)); 561 "return size differs: %d != %uld\n", size, sizeof(buf));
562 if (retval < 0) 562 if (retval < 0)
563 printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: " 563 printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: "
564 "usb_interrupt_msg returned %d\n", retval); 564 "usb_interrupt_msg returned %d\n", retval);