icera: fix warnings with -Wsign-compare
icera/mm-broadband-modem-icera.c: In function ‘icera_band_to_mm’: icera/mm-broadband-modem-icera.c:1105:20: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare] 1105 | for (i = 0 ; i < G_N_ELEMENTS (modem_bands); i++) { | ^
This commit is contained in:
@@ -1100,7 +1100,7 @@ static const guint modem_band_any_bit = 1 << (G_N_ELEMENTS (modem_bands) - 1);
|
||||
static MMModemBand
|
||||
icera_band_to_mm (const char *icera)
|
||||
{
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
for (i = 0 ; i < G_N_ELEMENTS (modem_bands); i++) {
|
||||
if (g_strcmp0 (icera, modem_bands[i].name) == 0)
|
||||
|
Reference in New Issue
Block a user