test-modem-helpers: fix warnings with -Wsign-compare

test-modem-helpers.c: In function ‘test_creg_match’:
  test-modem-helpers.c:1127:19: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare]
   1127 |     for (i = 0; i < array->len; i++) {
        |                   ^
This commit is contained in:
Aleksander Morgado
2020-01-14 10:15:49 +01:00
parent 6dcbda1c80
commit a27c957dc5

View File

@@ -1103,7 +1103,7 @@ test_creg_match (const char *test,
RegTestData *data,
const CregResult *result)
{
int i;
guint i;
GMatchInfo *info = NULL;
MMModem3gppRegistrationState state = MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN;
MMModemAccessTechnology access_tech = MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN;