commit | 99dc19d1cc4d68694f168ccee468bbab908b9c58 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 31 20:49:31 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 31 20:49:31 2013 +0200 |
tree | d309169c9b74b3bb454d52349cebe3ec2a917c72 | |
parent | ca982c8d4527262569abbbcecc352204d3b0ab15 [diff] [blame] |
updated for version 7.3.1081 Problem: Compiler warnings on 64-bit Windows. Solution: Change variable types. (Mike Williams)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index b6fba27..1dc56a3 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c
@@ -283,7 +283,7 @@ static int realloc_post_list() { - int nstate_max = post_end - post_start; + int nstate_max = (int)(post_end - post_start); int new_max = nstate_max + 1000; int *new_start; int *old_start;