summaryrefslogtreecommitdiff
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-25 21:18:06 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-25 21:18:06 +0200
commit7154b326d0aa1542d10d54278edc6af1fe57ac5d (patch)
tree41e42a6a03115bb5c90c10e8ba40d3c91872acf3 /src/gui_w32.c
parent6fa46363ad667a60d4d6a07dc1e83653cd0dae17 (diff)
downloadvim-git-7154b326d0aa1542d10d54278edc6af1fe57ac5d.tar.gz
updated for version 7.3.206v7.3.206
Problem: 64bit MS-Windows compiler warning. Solution: Use HandleToLong() instead of type cast. (Mike Williams)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index cdb1abb58..128869ee1 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: