From 31dacda87423a181da352b0873de55db1a430b1a Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Tue, 13 Jan 2015 11:30:01 +0100 Subject: Remove long_u: (various): Refactor long_u. --- src/nvim/spell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/spell.c') diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 5e69a935ca..bb995fe3c2 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -289,6 +289,7 @@ #include #include #include +#include #include #include #include @@ -6546,7 +6547,7 @@ node_compress ( n = np->wn_flags + (np->wn_region << 8) + (np->wn_affixID << 16); else // byte node: use the byte value and the child pointer - n = (unsigned)(np->wn_byte + ((long_u)np->wn_child << 8)); + n = (unsigned)(np->wn_byte + ((uintptr_t)np->wn_child << 8)); nr = nr * 101 + n; } -- cgit