commit | 7154b326d0aa1542d10d54278edc6af1fe57ac5d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed May 25 21:18:06 2011 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed May 25 21:18:06 2011 +0200 |
tree | 41e42a6a03115bb5c90c10e8ba40d3c91872acf3 | |
parent | 6fa46363ad667a60d4d6a07dc1e83653cd0dae17 [diff] [blame] |
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 index cdb1abb..128869e 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c
@@ -1575,7 +1575,7 @@ #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: