Commit c7e17e08 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp
parents 1bc5ac7e 88f8a36b
......@@ -166,7 +166,7 @@ TIM_sleep(double t)
(void)nanosleep(&ts, NULL);
#else
if (t >= 1.) {
(void)sleep(floor(t);
(void)sleep(floor(t));
t -= floor(t);
}
/* XXX: usleep() is not mandated to be thread safe */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment