# HG changeset patch # User Bram Moolenaar # Date 1370026171 -7200 # Node ID 9e7ef781d494694a36e056631dbd2c4357ab1090 # Parent 54f7d6f12191ab9eb4d0d6806b2e37b8bc35f200 updated for version 7.3.1081 Problem: Compiler warnings on 64-bit Windows. Solution: Change variable types. (Mike Williams) diff --git a/src/if_py_both.h b/src/if_py_both.h --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1100,7 +1100,7 @@ typedef struct long_u ht_used; hashtab_T *ht; hashitem_T *hi; - int todo; + long_u todo; } dictiterinfo_T; static PyObject * diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c --- 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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1081, +/**/ 1080, /**/ 1079,