mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +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
@@ -1266,7 +1266,7 @@ Okay:
|
||||
if ((windowMask & ~xMask) != 0) {
|
||||
window = CmdGetRootPoint ((Point *) NULL, (Rect *) NULL);
|
||||
xMask = ((DBWclientRec *)window->w_clientData)->dbw_bitmask;
|
||||
if (windowMask & xMask == 0) {
|
||||
if ((windowMask & xMask) == 0) {
|
||||
TxError("Box present in multiple windows; use the"
|
||||
"cursor\nto select the one you want\n");
|
||||
return;
|
||||
|
||||
+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