broadband-modem: fix warnings with -Wsign-compare

mm-broadband-modem.c: In function ‘setup_ports’:
  mm-broadband-modem.c:9955:23: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare]
   9955 |         for (j = 0; j < array->len; j++) {
        |                       ^
  ...
This commit is contained in:
Aleksander Morgado
2020-01-30 11:59:14 +01:00
parent 51ef497634
commit b1e0df4f24
+1 -1
View File
@@ -10000,7 +10000,7 @@ setup_ports (MMBroadbandModem *self)
MMPortSerialAt *ports[2];
GRegex *regex;
GPtrArray *array;
gint i, j;
guint i, j;
ports[0] = mm_base_modem_peek_port_primary (MM_BASE_MODEM (self));
ports[1] = mm_base_modem_peek_port_secondary (MM_BASE_MODEM (self));