diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-17 20:48:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-17 20:48:19 +0100 |
commit | a87e2c277eabf0134925c340e9dc4fe9446f3636 (patch) | |
tree | 4821c65616db05a42b2cb9c90f31c8d32cc543c0 /src/gui_w32.c | |
parent | 203219048fa007b5042d9b893fd647aef44722a0 (diff) | |
download | vim-git-a87e2c277eabf0134925c340e9dc4fe9446f3636.tar.gz |
patch 7.4.1345v7.4.1345
Problem: A few more compiler warnings. (Axel Bender)
Solution: Add type casts.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index cc31c7cee..ac0fb11f6 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1772,7 +1772,7 @@ gui_mch_init(void) # if !defined(_MSC_VER) || (_MSC_VER < 1400) /* Define HandleToLong for old MS and non-MS compilers if not defined. */ # ifndef HandleToLong -# define HandleToLong(h) ((long)(h)) +# define HandleToLong(h) ((long)(intptr_t)(h)) # endif # endif /* set the v:windowid variable */ |