diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_net.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-patch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c index db9c6f27e..4bbca09cd 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_net.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c @@ -605,7 +605,7 @@ static int dvb_net_do_ioctl(struct inode *inode, struct file *file, case NET_REMOVE_IF: if (!capable(CAP_SYS_ADMIN)) return -EPERM; - return dvb_net_remove_if(dvbnet, (long) parg); + return dvb_net_remove_if(dvbnet, (int) (long) parg); default: return -EINVAL; } diff --git a/linux/drivers/media/dvb/ttpci/budget-patch.c b/linux/drivers/media/dvb/ttpci/budget-patch.c index 2673d6042..14d3e56d7 100644 --- a/linux/drivers/media/dvb/ttpci/budget-patch.c +++ b/linux/drivers/media/dvb/ttpci/budget-patch.c @@ -150,7 +150,7 @@ int budget_patch_diseqc_ioctl (struct dvb_frontend *fe, unsigned int cmd, void * } case FE_DISEQC_SEND_BURST: - av7110_send_diseqc_msg (budget, 0, NULL, (int) arg); + av7110_send_diseqc_msg (budget, 0, NULL, (int) (long) arg); break; default: |