0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.0919: compiler warnings

Problem:    Compiler warnings.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2019-02-14 20:55:09 +01:00
parent 9b5c1fcdea
commit 0f77d6afd5
3 changed files with 5 additions and 3 deletions

View File

@@ -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;