projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e996af
)
[media] vivi: fix compiler warning
author
Hans Verkuil
<hverkuil@xs4all.nl>
Tue, 11 Jan 2011 20:32:28 +0000
(17:32 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:51 +0000
(20:31 -0300)
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>
drivers/media/video/vivi.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/vivi.c
b/drivers/media/video/vivi.c
index
66ce69e
..
bd104d0
100644
(file)
--- 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,
};