[PATCH weston] tests: Fix integer overflows on 32-bit systems

Daniel Stone daniel at fooishbar.org
Tue Dec 5 13:43:28 UTC 2017


Hi Alexandros,

On 1 December 2017 at 17:28, Alexandros Frantzis
<alexandros.frantzis at collabora.com> wrote:
> Ensure that the integer type used in expressions involving
> multiplication with NSEC_PER_SEC is large enough to avoid overflows on
> 32-bit systems. In the expressions fixed by this patch a 64-bit type
> (long long) is required.

Thanks! Reviewed and pushed.

Cheers,
Daniel


More information about the wayland-devel mailing list