diff src/regexp_nfa.c @ 4667:9e7ef781d494 v7.3.1081

updated for version 7.3.1081 Problem: Compiler warnings on 64-bit Windows. Solution: Change variable types. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Fri, 31 May 2013 20:49:31 +0200
parents 0dce3d812e7a
children 2d15582e132f
line wrap: on
line diff
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -283,7 +283,7 @@ nfa_regcomp_start(expr, re_flags)
     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;