aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor_linux.h')
-rw-r--r--executor/executor_linux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h
index 5ede578f1..cf01327a7 100644
--- a/executor/executor_linux.h
+++ b/executor/executor_linux.h
@@ -48,10 +48,10 @@ bool event_isset(event_t* ev)
return __atomic_load_n(&ev->state, __ATOMIC_ACQUIRE);
}
-bool event_timedwait(event_t* ev, uint64_t timeout_ms)
+bool event_timedwait(event_t* ev, uint64 timeout_ms)
{
- uint64_t start = current_time_ms();
- uint64_t now = start;
+ uint64 start = current_time_ms();
+ uint64 now = start;
for (;;) {
timespec ts = {};
ts.tv_sec = 0;