Correct & has lower precedence than parentheses warnings.

CmdRS.c:1269:22: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses]
DRCtech.c:2573:16: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
This commit is contained in:
Brad Smith
2021-12-30 04:35:03 -05:00
parent cf28ad6cf9
commit 10fa302bba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2570,7 +2570,7 @@ drcEdge(argc, argv)
/* For fastest DRC, checkPlane and plane should be */
/* the same, if possible. */
if (pset & pMaskM != 0)
if ((pset & pMaskM) != 0)
{
plane = LowestMaskBit(pset & pMaskM);
checkPlane = plane;