posix: clock: fix potential int32_t overflow in __z_clock_nanosleep
As k_sleep returns int32_t, there is a possibility for integer overflow
during conversion from milliseconds to nanoseconds.
Signed-off-by:
Ilya Tagunov <Ilya.Tagunov@synopsys.com>
Loading
Please sign in to comment