aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/event/loop.h')
-rw-r--r--src/nvim/event/loop.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/event/loop.h b/src/nvim/event/loop.h
index f5dd23ac8b..03cf7e489a 100644
--- a/src/nvim/event/loop.h
+++ b/src/nvim/event/loop.h
@@ -2,12 +2,11 @@
#define NVIM_EVENT_LOOP_H
#include <stdint.h>
-
#include <uv.h>
+#include "nvim/event/multiqueue.h"
#include "nvim/lib/klist.h"
#include "nvim/os/time.h"
-#include "nvim/event/multiqueue.h"
typedef void * WatcherPtr;
@@ -65,7 +64,7 @@ typedef struct loop {
break; \
} else if (remaining > 0) { \
uint64_t now = os_hrtime(); \
- remaining -= (int) ((now - before) / 1000000); \
+ remaining -= (int)((now - before) / 1000000); \
before = now; \
if (remaining <= 0) { \
break; \