mirror of
https://github.com/janet-lang/janet
synced 2025-07-12 15:02:53 +00:00
Reformat files.
This commit is contained in:
parent
813e3fdcfd
commit
88c1cf3ee7
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user