mm-origin: Explicitly cast ussd state

This is better than the implicit conversion of the enum.
This commit is contained in:
Evangelos Ribeiro Tzaras
2023-01-18 19:32:59 +01:00
parent e5780677f6
commit ab6f1a4c45
2 changed files with 2 additions and 1 deletions

View File

@@ -191,7 +191,7 @@ calls_mm_ussd_get_state (CallsUssd *ussd)
if (!self->ussd)
return CALLS_USSD_STATE_UNKNOWN;
return mm_modem_3gpp_ussd_get_state (self->ussd);
return (CallsUssdState) mm_modem_3gpp_ussd_get_state (self->ussd);
}
static void