[PATCH] test/xi2: Really fix infinite loop in test_convert_XITouchOwnershipEvent

Keith Packard keithp at keithp.com
Fri Dec 23 13:19:10 PST 2011

On Thu, 22 Dec 2011 12:00:37 -0800, Chase Douglas <chase.douglas at canonical.com> wrote:

> (1 << 31) is compiled as an int, and thus is equal to -2147483648. We
> are trying to compare it against a long, which on 64-bit machines is
> 2147483648. This results in an infinite loop.

Thanks. Merged.
   e7df42a..a28ff2c  master -> master

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111223/8d31ddc7/attachment.pgp>

More information about the xorg-devel mailing list