1
0
mirror of https://github.com/janet-lang/janet synced 2025-07-12 15:02:53 +00:00

Reformat files.

This commit is contained in:
Calvin Rose 2020-10-11 09:33:07 -05:00
parent 813e3fdcfd
commit 88c1cf3ee7
2 changed files with 7 additions and 7 deletions

View File

@ -753,7 +753,7 @@ void janet_loop1_impl(int has_timeout, JanetTimeout timeout) {
if (now > to.when) {
waittime = 0;
} else {
waittime = (uint64_t) (to.when - now);
waittime = (uint64_t)(to.when - now);
}
} else {
waittime = INFINITE;
@ -986,7 +986,7 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp timeout) {
do {
if (has_timeout) {
JanetTimestamp now = ts_now();
ready = poll(janet_vm_fds, janet_vm_fdcount, now > timeout ? 0 : (int) (timeout - now));
ready = poll(janet_vm_fds, janet_vm_fdcount, now > timeout ? 0 : (int)(timeout - now));
} else {
ready = poll(janet_vm_fds, janet_vm_fdcount, -1);
}