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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user