comparison 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
comparison
equal deleted inserted replaced
4666:54f7d6f12191 4667:9e7ef781d494
281 * running above the estimated number of states. 281 * running above the estimated number of states.
282 */ 282 */
283 static int 283 static int
284 realloc_post_list() 284 realloc_post_list()
285 { 285 {
286 int nstate_max = post_end - post_start; 286 int nstate_max = (int)(post_end - post_start);
287 int new_max = nstate_max + 1000; 287 int new_max = nstate_max + 1000;
288 int *new_start; 288 int *new_start;
289 int *old_start; 289 int *old_start;
290 290
291 new_start = (int *)lalloc(new_max * sizeof(int), TRUE); 291 new_start = (int *)lalloc(new_max * sizeof(int), TRUE);