comparison src/regexp_nfa.c @ 15824:6733b8b1caf3 v8.1.0919

patch 8.1.0919: compiler warnings commit https://github.com/vim/vim/commit/0f77d6afd506d1be4b0bef46e1d2268440e1ba88 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 14 20:55:09 2019 +0100 patch 8.1.0919: compiler warnings Problem: Compiler warnings. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Feb 2019 21:00:06 +0100
parents 3808b583889e
children 0c49755f460e
comparison
equal deleted inserted replaced
15823:5798cba2079a 15824:6733b8b1caf3
4798 if ((long)(newsize >> 10) >= p_mmp) 4798 if ((long)(newsize >> 10) >= p_mmp)
4799 { 4799 {
4800 emsg(_(e_maxmempat)); 4800 emsg(_(e_maxmempat));
4801 return NULL; 4801 return NULL;
4802 } 4802 }
4803 newl = (nfa_thread_T *)alloc(newsize); 4803 newl = (nfa_thread_T *)alloc((int)newsize);
4804 if (newl == NULL) 4804 if (newl == NULL)
4805 return NULL; 4805 return NULL;
4806 l->len = newlen; 4806 l->len = newlen;
4807 mch_memmove(&(newl[0]), 4807 mch_memmove(&(newl[0]),
4808 &(l->t[0]), 4808 &(l->t[0]),