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:
Ilya Tagunov <Ilya.Tagunov@synopsys.com>
Loading
Please sign in to comment