isiusb: Fix compiler warning with logical expression

CC       plugins/isiusb.o
plugins/isiusb.c: In function ‘reachable_cb’:
plugins/isiusb.c:207: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:
Marcel Holtmann 2015-07-07 11:30:20 +02:00
parent b2b67fa74e
commit c3af639874
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,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);