Skip to content
Commit bf525851 authored by Ilya Tagunov's avatar Ilya Tagunov Committed by Fabio Baltieri
Browse files

posix: clock: fix 32-bit time_t overflow in __z_clock_nanosleep



Nanosecond time calculation overflows if the libc has 32-bit time_t.
One such libc is the classic ARC MWDT one, but there might be others.

Signed-off-by: default avatarIlya Tagunov <Ilya.Tagunov@synopsys.com>
parent 760210f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment