OSDN Git Service

[media] dib8000: Properly represent long long integers
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 17:05:44 +0000 (15:05 -0200)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 18:28:12 +0000 (16:28 -0200)
commit5dc8526b90979c2cacdf32d1ea3b82de7744bd71
tree2f47ceb0a1245caeebcb352471bfd2f4218f1641
parent6fcd3b619c06544b5d33493d0ab297a5b8e64b68
[media] dib8000: Properly represent long long integers

When compiling with avr32, it gets those errors:

drivers/media/dvb-frontends/dib8000.c: In function 'dib8000_get_stats':
drivers/media/dvb-frontends/dib8000.c:4121: warning: integer constant is too large for 'long' type

Fix integer representation to avoid overflow.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c