diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-02-10 15:13:25 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-02-10 15:13:25 -0500 |
commit | f24dbc55111e61322e06334d7f0bc7f39ebbde0d (patch) | |
tree | 614578b922818858da0857ecf5c0f9c83ffe97a8 /linux/drivers/media/radio/radio-si470x.c | |
parent | 4ebd6086c983416fccbf09dbdc305e0aec07a56a (diff) | |
download | mediapointer-dvb-s2-f24dbc55111e61322e06334d7f0bc7f39ebbde0d.tar.gz mediapointer-dvb-s2-f24dbc55111e61322e06334d7f0bc7f39ebbde0d.tar.bz2 |
radio-si470x: fix build warning
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/radio/radio-si470x.c')
-rw-r--r-- | linux/drivers/media/radio/radio-si470x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-si470x.c b/linux/drivers/media/radio/radio-si470x.c index 7be7b0916..fa4feb774 100644 --- a/linux/drivers/media/radio/radio-si470x.c +++ b/linux/drivers/media/radio/radio-si470x.c @@ -559,7 +559,7 @@ static int si470x_get_rds_registers(struct si470x_device *radio) (void *) &buf, sizeof(buf), &size, usb_timeout); if (size != sizeof(buf)) printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_register: " - "return size differs: %d != %ld\n", size, sizeof(buf)); + "return size differs: %d != %uld\n", size, sizeof(buf)); if (retval < 0) printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: " "usb_interrupt_msg returned %d\n", retval); |