diff src/gui_w32.c @ 2865:46544d3ae7ec v7.3.206

updated for version 7.3.206 Problem: 64bit MS-Windows compiler warning. Solution: Use HandleToLong() instead of type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Wed, 25 May 2011 21:18:06 +0200
parents 951641b8784d
children be6b65096362
line wrap: on
line diff
--- 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: