Skip to content
Commit 13768f37 authored by Jon Turney's avatar Jon Turney Committed by Dylan Baker
Browse files

Fix timespec_from_nsec test for 32-bit time_t



Since struct timespec's tv_sec member is of type time_t, adjust the
expected value to allow for the truncation which will occur with 32-bit
time_t.

Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
(cherry picked from commit dd1dba80)
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2043
parent aab60439
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment