Add parantheses to avoid compiler warning

This commit is contained in:
Martin Willi
2012-12-24 10:12:23 +01:00
parent 9787b9f2e0
commit 656e01eab3
+1 -1
View File
@@ -172,7 +172,7 @@ METHOD(task_t, build, status_t,
}
for (i = 0; i < countof(vendor_natt_ids); i++)
{
if (this->initiator && vendor_natt_ids[i].send ||
if ((this->initiator && vendor_natt_ids[i].send) ||
this->best_natt_ext == i)
{
vid_payload = vendor_id_payload_create_data(VENDOR_ID_V1,