comparison src/gui_w32.c @ 8102:441298d72f3c v7.4.1345

commit https://github.com/vim/vim/commit/a87e2c277eabf0134925c340e9dc4fe9446f3636 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 17 20:48:19 2016 +0100 patch 7.4.1345 Problem: A few more compiler warnings. (Axel Bender) Solution: Add type casts.
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Feb 2016 21:00:06 +0100
parents ae50910ce279
children 50515f2e81d1
comparison
equal deleted inserted replaced
8101:ace65a22f6cf 8102:441298d72f3c
1770 1770
1771 #ifdef FEAT_EVAL 1771 #ifdef FEAT_EVAL
1772 # if !defined(_MSC_VER) || (_MSC_VER < 1400) 1772 # if !defined(_MSC_VER) || (_MSC_VER < 1400)
1773 /* Define HandleToLong for old MS and non-MS compilers if not defined. */ 1773 /* Define HandleToLong for old MS and non-MS compilers if not defined. */
1774 # ifndef HandleToLong 1774 # ifndef HandleToLong
1775 # define HandleToLong(h) ((long)(h)) 1775 # define HandleToLong(h) ((long)(intptr_t)(h))
1776 # endif 1776 # endif
1777 # endif 1777 # endif
1778 /* set the v:windowid variable */ 1778 /* set the v:windowid variable */
1779 set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd)); 1779 set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd));
1780 #endif 1780 #endif