diff --git a/src/gui_w32.c b/src/gui_w32.c
index cdb1abb58321d676fcd7316ad05301440144e161..128869ee1282ab8e3fc666b4717dd7a01f64aa38 100644
--- 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
index 14c2b850764d23b5a6c46ed2f07d57867063b419..65de7c9e5f6f12a63e04986131f42a03e93f814c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    206,
 /**/
     205,
 /**/