Skip to content
Snippets Groups Projects
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: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
(cherry picked from commit dd1dba80)
Closes: mesa/mesa#2043
parent aab60439
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment