mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 20:28:30 +00:00
Avoid potential build error
This commit is contained in:
parent
03875beadb
commit
0d6ff04b87
3 changed files with 6 additions and 3 deletions
|
@ -34,7 +34,6 @@
|
|||
#include "libc/intrin/fds.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/intrin/nomultics.h"
|
||||
#include "libc/intrin/safemacros.h"
|
||||
#include "libc/intrin/strace.h"
|
||||
#include "libc/intrin/weaken.h"
|
||||
#include "libc/macros.h"
|
||||
|
@ -873,7 +872,8 @@ RestartOperation:
|
|||
now = timespec_mono();
|
||||
if (timespec_cmp(now, deadline) >= 0)
|
||||
return etimedout();
|
||||
ms = min(-1u, timespec_tomillis(timespec_sub(deadline, now)));
|
||||
ms = timespec_tomillis(timespec_sub(deadline, now));
|
||||
ms = ms > -1u ? -1u : ms;
|
||||
goto RestartOperation;
|
||||
}
|
||||
return got;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue