diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 20:35:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 20:35:47 -0300 |
commit | 720b055d4b2ac8a73118019e1a01d8e6c8f63332 (patch) | |
tree | eb0d6343d84fd7ede188d80444ba462b2bd75d9d | |
parent | e5ab1477bc4d213c602cb7427b6594db35d5c4c4 (diff) | |
download | linux-720b055d4b2ac8a73118019e1a01d8e6c8f63332.tar.gz linux-720b055d4b2ac8a73118019e1a01d8e6c8f63332.tar.bz2 linux-720b055d4b2ac8a73118019e1a01d8e6c8f63332.zip |
[media] hackrf: Fix a long constant
drivers/media/usb/hackrf/hackrf.c:64:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
.rangehigh = 4294967294, /* max u32, hw goes over 7GHz */
^
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/usb/hackrf/hackrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c index 94276525b037..328b5ba47a0a 100644 --- a/drivers/media/usb/hackrf/hackrf.c +++ b/drivers/media/usb/hackrf/hackrf.c @@ -61,7 +61,7 @@ static const struct v4l2_frequency_band bands_rf[] = { .index = 0, .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS, .rangelow = 1, - .rangehigh = 4294967294, /* max u32, hw goes over 7GHz */ + .rangehigh = 4294967294LL, /* max u32, hw goes over 7GHz */ }, }; |