diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-01-19 14:45:50 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-19 14:45:50 -0500 |
commit | 617c00bd49c2bdb05c8ef31f94e206ba3f80f694 (patch) | |
tree | 2804c90f676a47f3f8ca23a11f78e2b8c5446a66 /src/nvim/spell.c | |
parent | d0debe243276804f59b24156c84174c394bc42bb (diff) | |
parent | dad1e39edf7f704dba40b182c7726ef4bc34c502 (diff) | |
download | rneovim-617c00bd49c2bdb05c8ef31f94e206ba3f80f694.tar.gz rneovim-617c00bd49c2bdb05c8ef31f94e206ba3f80f694.tar.bz2 rneovim-617c00bd49c2bdb05c8ef31f94e206ba3f80f694.zip |
Merge pull request #1812 from elmart/remove-long_u-5
Remove project-specific integer types: long_u. (5)
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <inttypes.h> #include <limits.h> #include <stdbool.h> +#include <stdint.h> #include <string.h> #include <stdlib.h> #include <wctype.h> @@ -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; } |