Commit 88f8a36b authored by Thomas Woinke's avatar Thomas Woinke Committed by Tollef Fog Heen

Add missing paranthesis, needed on platforms without nanosleep

parent 5f954d2c
......@@ -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