summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-core/dmxdev.c
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-07-13 16:54:35 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 19:24:46 +0200
commit260f8d7c4cda79b087a182eb03e8574ba41a171e (patch)
treeb50799ad52d10badbda800a26def7da29321ea8a /drivers/media/dvb/dvb-core/dmxdev.c
parentV4L/DVB (5837): stv0299: Fix signedness warning (gcc 4.1.1, kernel 2.6.22) (diff)
downloadlinux-260f8d7c4cda79b087a182eb03e8574ba41a171e.tar.xz
linux-260f8d7c4cda79b087a182eb03e8574ba41a171e.zip
V4L/DVB (5838): dvb-core: Fix signedness warnings (gcc 4.1.1, kernel 2.6.22)
Fix signedness warnings (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dmxdev.c')
-rw-r--r--drivers/media/dvb/dvb-core/dmxdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dmxdev.c b/drivers/media/dvb/dvb-core/dmxdev.c
index 275df65fde99..5394de2e4ce0 100644
--- a/drivers/media/dvb/dvb-core/dmxdev.c
+++ b/drivers/media/dvb/dvb-core/dmxdev.c
@@ -97,7 +97,7 @@ static ssize_t dvb_dmxdev_buffer_read(struct dvb_ringbuffer *src,
if (avail > todo)
avail = todo;
- ret = dvb_ringbuffer_read(src, buf, avail, 1);
+ ret = dvb_ringbuffer_read(src, (u8 *)buf, avail, 1);
if (ret < 0)
break;