Commit 43feabdb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16

Despite the struct says "color16", it was actually using 32 bits
for each color. Fix it.
Suggested-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent b29fd563
......@@ -32,7 +32,7 @@ struct tpg_rbg_color8 {
};
struct tpg_rbg_color16 {
int r, g, b;
__u16 r, g, b;
};
enum tpg_color {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment