Skip to content

Commit

Permalink
Silence parentheses warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed May 24, 2014
1 parent 6eef2be commit 72ff5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cdogs/algorithms.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ static bool XiaolinWuDraw(
{
if (data->CheckBlockedAndEarlyTerminate)
{
if (RFPART(aa) > AAFACTOR && data->IsBlocked(data->data, a) ||
FPART(aa) > AAFACTOR && !isEnd && data->IsBlocked(data->data, b))
if ((RFPART(aa) > AAFACTOR && data->IsBlocked(data->data, a)) ||
(FPART(aa) > AAFACTOR && !isEnd && data->IsBlocked(data->data, b)))
{
return false;
}
Expand Down

0 comments on commit 72ff5cd

Please sign in to comment.