Commit 720b055d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent e5ab1477
...@@ -61,7 +61,7 @@ static const struct v4l2_frequency_band bands_rf[] = { ...@@ -61,7 +61,7 @@ static const struct v4l2_frequency_band bands_rf[] = {
.index = 0, .index = 0,
.capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS, .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
.rangelow = 1, .rangelow = 1,
.rangehigh = 4294967294, /* max u32, hw goes over 7GHz */ .rangehigh = 4294967294LL, /* max u32, hw goes over 7GHz */
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment