summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-01-11 17:32:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:51 -0300
commit5b2830298dc0534eb33277a31f353bb524e2cc2e (patch)
treed755e10fafbd16a55e4e77f1064805c8f4aa201b /drivers/media/video/vivi.c
parent7e996afa81f71ade7870eb26b1b17350b4395646 (diff)
downloadblackbird-op-linux-5b2830298dc0534eb33277a31f353bb524e2cc2e.tar.gz
blackbird-op-linux-5b2830298dc0534eb33277a31f353bb524e2cc2e.zip
[media] vivi: fix compiler warning
drivers/media/video/vivi.c:1059: warning: this decimal constant is unsigned only in ISO C90 Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r--drivers/media/video/vivi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index 66ce69e2833b..bd104d0ad36c 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -1082,8 +1082,8 @@ static const struct v4l2_ctrl_config vivi_ctrl_int32 = {
.id = VIVI_CID_CUSTOM_BASE + 2,
.name = "Integer 32 Bits",
.type = V4L2_CTRL_TYPE_INTEGER,
- .min = -2147483648,
- .max = 2147483647,
+ .min = 0x80000000,
+ .max = 0x7fffffff,
.step = 1,
};
OpenPOWER on IntegriCloud