Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
opentv: coverity fixes
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 100f7ad commit a90285c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epggrab/module/opentv.c
Expand Up @@ -253,7 +253,7 @@ static int _opentv_parse_event
const uint8_t *buf, int len, int cid, time_t mjd,
opentv_event_t *ev )
{
int slen = ((int)buf[2] & 0xf << 8) | buf[3];
int slen = (((int)buf[2] & 0xf) << 8) | buf[3];
int i = 4;

ev->eid = ((uint16_t)buf[0] << 8) | buf[1];
Expand Down

0 comments on commit a90285c

Please sign in to comment.