Commit 99b49377 authored by David S. Miller's avatar David S. Miller

[DVB]: Fix pointer-->int cast in dvb_net.c

parent b804b228
...@@ -597,7 +597,7 @@ static int dvb_net_do_ioctl(struct inode *inode, struct file *file, ...@@ -597,7 +597,7 @@ static int dvb_net_do_ioctl(struct inode *inode, struct file *file,
case NET_REMOVE_IF: case NET_REMOVE_IF:
if (!capable(CAP_SYS_ADMIN)) if (!capable(CAP_SYS_ADMIN))
return -EPERM; return -EPERM;
return dvb_net_remove_if(dvbnet, (int) parg); return dvb_net_remove_if(dvbnet, (int) (long) parg);
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment