summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-risc.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-23 01:22:22 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-23 01:22:22 +0200
commit19050620d7676a007898ae8404ad4edc757f9d2f (patch)
treeba596ec5d3206f3e46cd899eb02473922d26abba /linux/drivers/media/video/bt8xx/bttv-risc.c
parent7e579fead10182b9f9494e0f2b483dd62e4e6c75 (diff)
downloadmediapointer-dvb-s2-19050620d7676a007898ae8404ad4edc757f9d2f.tar.gz
mediapointer-dvb-s2-19050620d7676a007898ae8404ad4edc757f9d2f.tar.bz2
v4l-dvb: fix a bunch of sparse warnings
From: Hans Verkuil <hverkuil@xs4all.nl> Fixed a lot of sparse warnings: mostly warnings about shadowed variables and signed/unsigned mismatches. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-risc.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-risc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-risc.c b/linux/drivers/media/video/bt8xx/bttv-risc.c
index 0cffd3a72..310924f77 100644
--- a/linux/drivers/media/video/bt8xx/bttv-risc.c
+++ b/linux/drivers/media/video/bt8xx/bttv-risc.c
@@ -244,7 +244,8 @@ bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc,
const struct bttv_format *fmt, struct bttv_overlay *ov,
int skip_even, int skip_odd)
{
- int dwords,rc,line,maxy,start,end,skip,nskips;
+ int dwords, rc, line, maxy, start, end;
+ unsigned skip, nskips;
struct btcx_skiplist *skips;
__le32 *rp;
u32 ri,ra;