On Fri, Apr 08, 2016 at 03:51:26PM +0800, Jonas Ådahl wrote:
> The libinput_*_get_time() returns a 32 bit unsigned integer, but in the
> tests we compared them to a 64 bit unsigned integer. This means that
> when the 32 bit integer overflowed, we'd still compare to a
> non-overflowed 64 bit integer, causing the tests to fail.
> 
> This commit fixes this by always casting the millisecond 64 bit unsigned
> integer to a 32 unsigned integer, triggering the same overflow.
> 
> Signed-off-by: Jonas Ådahl <[email protected]>

all three pushed, thanks.

Cheers,
   Peter
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to