aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lib/queue.h
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-06-10 22:23:56 +0300
committerZyX <kp-pav@yandex.ru>2016-06-11 00:08:57 +0300
commitd359bb3f60cfb2eea7973081797841e69aeeb78c (patch)
tree4a00c7338e919e8bfb737023035c5725dc0288be /src/nvim/lib/queue.h
parent3d64bd2b3a87d22542cac03c1cc6a20a7ee13d1d (diff)
downloadrneovim-d359bb3f60cfb2eea7973081797841e69aeeb78c.tar.gz
rneovim-d359bb3f60cfb2eea7973081797841e69aeeb78c.tar.bz2
rneovim-d359bb3f60cfb2eea7973081797841e69aeeb78c.zip
*: Fix errors from new linter checks
Diffstat (limited to 'src/nvim/lib/queue.h')
-rw-r--r--src/nvim/lib/queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lib/queue.h b/src/nvim/lib/queue.h
index fc322978b0..9fcedf298f 100644
--- a/src/nvim/lib/queue.h
+++ b/src/nvim/lib/queue.h
@@ -25,7 +25,7 @@ typedef struct _queue {
} QUEUE;
// Public macros.
-#define QUEUE_DATA(ptr, type, field) \
+#define QUEUE_DATA(ptr, type, field) \
((type *)((char *)(ptr) - offsetof(type, field)))
#define QUEUE_FOREACH(q, h) \