Commit f78472fa authored by David S. Miller's avatar David S. Miller

[MEDIA]: Fix pointer-->int cast in saa5249.c

parent 70a8c7bb
......@@ -579,7 +579,7 @@ static int do_saa5249_ioctl(struct inode *inode, struct file *file,
case VTXIOCSETVIRT:
{
/* The SAA5249 has virtual-row reception turned on always */
t->virtual_mode = (int)arg;
t->virtual_mode = (int)(long)arg;
return 0;
}
}
......
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