[media] e4000: fix compiler warning
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 22 May 2015 07:39:54 +0000 (04:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:20:09 +0000 (11:20 -0300)
drivers/media/tuners/e4000.c:287:3: warning: this decimal constant is unsigned only in ISO C90
   .rangehigh  =  2208000000L,
   ^

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/e4000.c

index fdf07ce4177abeaf2b383d5b55d31faa4e56faa6..03538f88f4881085c0408f547b104a71d04380b7 100644 (file)
@@ -284,7 +284,7 @@ static const struct v4l2_frequency_band bands[] = {
                .index = 1,
                .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
                .rangelow   =  1249000000,
-               .rangehigh  =  2208000000L,
+               .rangehigh  =  2208000000UL,
        },
 };
 
This page took 0.026746 seconds and 5 git commands to generate.