Files
xserver/dix
Ferry Huberts b16964910d dix: do not use bit-wise operators on the boolean result of BitIsOn
Performing bit-wise operations on a boolean amounts to mixing types,
is confusing and basically incorrect; one should only perform
logical operations on booleans.

Performing such operations relies on the implementation detail
that a boolean is in fact an integer and that its value FALSE
is implemented as zero.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-11-30 13:25:47 -08:00
..
2010-05-13 06:16:48 +07:00
2010-09-13 15:55:17 -07:00
2010-10-13 09:24:06 -07:00
2010-11-11 23:20:35 +02:00
2010-09-28 16:46:46 +03:00
2010-11-14 10:25:54 -08:00
2009-08-28 23:29:05 -04:00