mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1345
Problem: A few more compiler warnings. (Axel Bender) Solution: Add type casts.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user