summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/btcx-risc.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-03 22:11:54 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 23:37:13 +0200
commitc6eb8eafdba4ad18b4520a0d28a38bc9e61883ea (patch)
tree8b580ce4ac05617bc760272fb29382b1ffc73bad /drivers/media/video/btcx-risc.c
parentV4L/DVB (8751): vivi: Fix some issues at vivi register routine (diff)
downloadlinux-c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea.tar.xz
linux-c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea.zip
V4L/DVB (8757): v4l-dvb: fix a bunch of sparse warnings
Fixed a lot of sparse warnings: mostly warnings about shadowed variables and signed/unsigned mismatches. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/btcx-risc.c')
-rw-r--r--drivers/media/video/btcx-risc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/btcx-risc.c b/drivers/media/video/btcx-risc.c
index f42701f82e7f..3324ab38f58c 100644
--- a/drivers/media/video/btcx-risc.c
+++ b/drivers/media/video/btcx-risc.c
@@ -184,12 +184,12 @@ btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips)
}
void
-btcx_calc_skips(int line, int width, unsigned int *maxy,
+btcx_calc_skips(int line, int width, int *maxy,
struct btcx_skiplist *skips, unsigned int *nskips,
const struct v4l2_clip *clips, unsigned int nclips)
{
unsigned int clip,skip;
- int end,maxline;
+ int end, maxline;
skip=0;
maxline = 9999;