diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-14 20:55:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-14 20:55:09 +0100 |
commit | 0f77d6afd506d1be4b0bef46e1d2268440e1ba88 (patch) | |
tree | 517f3860e69fef45cb273977937ed358f6082878 /src/regexp_nfa.c | |
parent | 9b5c1fcdeae75f82a2083fafbbf75ab220f6ac1e (diff) | |
download | vim-git-0f77d6afd506d1be4b0bef46e1d2268440e1ba88.tar.gz |
patch 8.1.0919: compiler warningsv8.1.0919
Problem: Compiler warnings.
Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index dadb9d067..b83e309f7 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -4800,7 +4800,7 @@ addstate_here( emsg(_(e_maxmempat)); return NULL; } - newl = (nfa_thread_T *)alloc(newsize); + newl = (nfa_thread_T *)alloc((int)newsize); if (newl == NULL) return NULL; l->len = newlen; |