[media] dvb: negative value assigned to unsigned int in CDRXD()
In CDRXD(), Negative number is assigned to unsigned variable 'state->noise_cal.tdCal2. Members of 'SNoiseCal' should be 'signed short'. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f3033aecf2
commit
3caaa20121
|
@ -101,9 +101,9 @@ struct SCfgAgc {
|
||||||
|
|
||||||
struct SNoiseCal {
|
struct SNoiseCal {
|
||||||
int cpOpt;
|
int cpOpt;
|
||||||
u16 cpNexpOfs;
|
short cpNexpOfs;
|
||||||
u16 tdCal2k;
|
short tdCal2k;
|
||||||
u16 tdCal8k;
|
short tdCal8k;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum app_env {
|
enum app_env {
|
||||||
|
|
Reference in New Issue