diff options
author | Bram Moolenaar <bram@vim.org> | 2011-05-25 21:18:06 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2011-05-25 21:18:06 +0200 |
commit | 41cfa1999dc4758c531b2c90ebc1e0d9c60a0b42 (patch) | |
tree | a95354133459f5b0fe155363712720b414390839 | |
parent | a6d3d7e48e4443c6631414059c2489e401b94c9c (diff) | |
download | vim-41cfa1999dc4758c531b2c90ebc1e0d9c60a0b42.tar.gz |
Problem: 64bit MS-Windows compiler warning.
Solution: Use HandleToLong() instead of type cast. (Mike Williams)
-rw-r--r-- | src/gui_w32.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index cdb1abb5..128869ee 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 14c2b850..65de7c9e 100644 --- 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, |