mirror of git://git.sysmocom.de/ofono
u8500: Fix compiler warning with logical expression
CC plugins/u8500.o plugins/u8500.c: In function ‘reachable_cb’: plugins/u8500.c:235:28: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if (!g_isi_msg_error(msg) < 0) ^
This commit is contained in:
parent
def77f7653
commit
a2acb227fd
|
@ -232,7 +232,7 @@ static void reachable_cb(const GIsiMessage *msg, void *data)
|
|||
struct ofono_modem *om = data;
|
||||
struct isi_data *isi = ofono_modem_get_data(om);
|
||||
|
||||
if (!g_isi_msg_error(msg) < 0)
|
||||
if (g_isi_msg_error(msg) < 0)
|
||||
return;
|
||||
|
||||
ISI_RESOURCE_DBG(msg);
|
||||
|
|
Loading…
Reference in New Issue