mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user