diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-05-19 12:08:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:00:36 -0400 |
commit | d6144028af6b151018c50c160e794a4d7f686333 (patch) | |
tree | 39f1596643e5a394398a319fd31758169e6cf32f /drivers/media/video/meye.c | |
parent | 0463f12c5cdc3d5577002826c302471b95b2532c (diff) |
V4L/DVB (4036): Fix some compilation warnings
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/meye.c')
-rw-r--r-- | drivers/media/video/meye.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/meye.c b/drivers/media/video/meye.c index 850bee97090c..595a3ea7574e 100644 --- a/drivers/media/video/meye.c +++ b/drivers/media/video/meye.c | |||
@@ -1682,13 +1682,13 @@ static unsigned int meye_poll(struct file *file, poll_table *wait) | |||
1682 | 1682 | ||
1683 | static void meye_vm_open(struct vm_area_struct *vma) | 1683 | static void meye_vm_open(struct vm_area_struct *vma) |
1684 | { | 1684 | { |
1685 | int idx = (int)vma->vm_private_data; | 1685 | long idx = (long)vma->vm_private_data; |
1686 | meye.vma_use_count[idx]++; | 1686 | meye.vma_use_count[idx]++; |
1687 | } | 1687 | } |
1688 | 1688 | ||
1689 | static void meye_vm_close(struct vm_area_struct *vma) | 1689 | static void meye_vm_close(struct vm_area_struct *vma) |
1690 | { | 1690 | { |
1691 | int idx = (int)vma->vm_private_data; | 1691 | long idx = (long)vma->vm_private_data; |
1692 | meye.vma_use_count[idx]--; | 1692 | meye.vma_use_count[idx]--; |
1693 | } | 1693 | } |
1694 | 1694 | ||