xf86-driver-savage: (3/3) Fix ambiguous operator precedence
Alex Villacís Lasso
a_villacis at palosanto.com
Tue Jan 15 14:15:01 PST 2008
In the modified lines, the logical-not binds first to psav->videoFlags,
not to (psav->videoFlags & VF_STREAMS_ON). If more flags are ever
implemented, they could interfere with this check. More of a preventive
patch than anything else.
Changelog:
* Add parentheses to clarify intended meaning of boolean check.
--
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-ambiguous-operator-precedence.patch
Type: text/x-patch
Size: 1429 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080115/ed3b38e8/attachment.bin>
More information about the xorg
mailing list