Skip to content

Commit

Permalink
[media] dmxdev: Fix a compilation warning due to a bad type
Browse files Browse the repository at this point in the history
drivers/media/dvb/dvb-core/dmxdev.c: In function ‘dvb_dmxdev_start_feed’:
drivers/media/dvb/dvb-core/dmxdev.c:583:13: warning: comparison between ‘enum dmx_ts_pes’ and ‘enum <anonymous>’

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 29, 2010
1 parent 1035758 commit 9ae2ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/dvb-core/dmxdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,13 +572,13 @@ static int dvb_dmxdev_start_feed(struct dmxdev *dmxdev,
dmx_output_t otype;
int ret;
int ts_type;
enum dmx_ts_pes ts_pes;
dmx_pes_type_t ts_pes;
struct dmx_ts_feed *tsfeed;

feed->ts = NULL;
otype = para->output;

ts_pes = (enum dmx_ts_pes)para->pes_type;
ts_pes = para->pes_type;

if (ts_pes < DMX_PES_OTHER)
ts_type = TS_DECODER;
Expand Down

0 comments on commit 9ae2ae3

Please sign in to comment.