# HG changeset patch # User Bram Moolenaar # Date 1306351086 -7200 # Node ID 46544d3ae7ecb245a2646ae5005a3d67ca380f88 # Parent 4d7870e159ceb9b234a6e19fb221b9feb2b01458 updated for version 7.3.206 Problem: 64bit MS-Windows compiler warning. Solution: Use HandleToLong() instead of type cast. (Mike Williams) diff --git a/src/gui_w32.c b/src/gui_w32.c --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1575,7 +1575,7 @@ gui_mch_init(void) #ifdef FEAT_EVAL /* set the v:windowid variable */ - set_vim_var_nr(VV_WINDOWID, (long)s_hwnd); + set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd)); #endif theend: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 206, +/**/ 205, /**/ 204,