summaryrefslogtreecommitdiffstats
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index dadb9d067f..b83e309f7c 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;