aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lib/queue.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-11 12:14:58 -0400
committerGitHub <noreply@github.com>2016-06-11 12:14:58 -0400
commitf0c1a06792586d8373639ad2e9d34de6594cece3 (patch)
tree6612b88611deb097cabe19c0cfec48273a696423 /src/nvim/lib/queue.h
parent290215364898fbd3a660be6c0642377c47398619 (diff)
parent244967bff918cbde43eea823c1bf0fa86d566623 (diff)
downloadrneovim-f0c1a06792586d8373639ad2e9d34de6594cece3.tar.gz
rneovim-f0c1a06792586d8373639ad2e9d34de6594cece3.tar.bz2
rneovim-f0c1a06792586d8373639ad2e9d34de6594cece3.zip
Merge #4908 from ZyX-I/clint-checks-2
Add more clint 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) \