grTk3.c: warning: suggest parentheses around '-' in operand of '&'
GCC14 -Wall cleanup series [-Wparentheses]
This commit is contained in:
parent
4bfed56924
commit
239366d4b6
|
|
@ -244,7 +244,7 @@ GrTkReadPixel (w, x, y)
|
||||||
image = XGetImage(grXdpy, grCurrent.windowid, x, grMagicToX(y), 1, 1,
|
image = XGetImage(grXdpy, grCurrent.windowid, x, grMagicToX(y), 1, 1,
|
||||||
~0, ZPixmap);
|
~0, ZPixmap);
|
||||||
value = XGetPixel(image, 0, 0);
|
value = XGetPixel(image, 0, 0);
|
||||||
return (value & (1 << grDisplay.depth) - 1);
|
return (value & ((1 << grDisplay.depth) - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue