V4L/DVB (12970): saa7164: fix 64bit build warning
authorMichael Krufky <mkrufky@kernellabs.com>
Sun, 6 Sep 2009 14:13:09 +0000 (11:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:16:10 +0000 (00:16 -0300)
Fix the following build warning:

  CC [M]  saa7164-core.o
saa7164-core.c: In function 'saa7164_buffer_deliver':
saa7164-core.c:113: warning: passing argument 2 of 'dvb_dmx_swfilter_packets'
    from incompatible pointer type

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-core.c

index 4e0df60d29c0d54e215dd1491944827ce0378de4..f0dbead188c893741c2bbdb6dc55035ee36436e1 100644 (file)
@@ -77,7 +77,7 @@ static void saa7164_buffer_deliver(struct saa7164_buffer *buf)
        struct saa7164_tsport *port = buf->port;
 
        /* Feed the transport payload into the kernel demux */
-       dvb_dmx_swfilter_packets(&port->dvb.demux, buf->cpu,
+       dvb_dmx_swfilter_packets(&port->dvb.demux, (u8 *)buf->cpu,
                SAA7164_TS_NUMBER_OF_LINES);
 
 }
This page took 0.031816 seconds and 5 git commands to generate.