diff options
Diffstat (limited to 'src/stdlib/stdlib.c')
| -rw-r--r-- | src/stdlib/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c index 45a4bd00..c3ea1d36 100644 --- a/src/stdlib/stdlib.c +++ b/src/stdlib/stdlib.c @@ -204,7 +204,7 @@ cleanup: } public -void sleep_num(double seconds) { +void sleep_float64(double seconds) { struct timespec ts; ts.tv_sec = (time_t)seconds; ts.tv_nsec = (long)((seconds - (double)ts.tv_sec) * 1e9); |
