dect
/
linux-2.6
Archived
13
0
Fork 0

[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:
Santosh Nayak 2012-03-06 23:41:03 -03:00 committed by Mauro Carvalho Chehab
parent f3033aecf2
commit 3caaa20121
1 changed files with 3 additions and 3 deletions

View File

@ -101,9 +101,9 @@ struct SCfgAgc {
struct SNoiseCal {
int cpOpt;
u16 cpNexpOfs;
u16 tdCal2k;
u16 tdCal8k;
short cpNexpOfs;
short tdCal2k;
short tdCal8k;
};
enum app_env {