Problem: Compiler warnings on MS-Windows.
Solution: Add type cast. Move variable declaration. (Mike Williams)
if (opt_idx >= 0)
{
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
- if ((long)options[opt_idx].def_val[VI_DEFAULT] > n
+ if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n
|| (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
#endif
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
HWND sender = (HWND)wParam;
COPYDATASTRUCT reply;
char_u *res;
- char_u winstr[30];
int retval;
char_u *str;
char_u *tofree;
#ifdef FEAT_AUTOCMD
else if (data->dwData == COPYDATA_REPLY)
{
+ char_u winstr[30];
+
sprintf((char *)winstr, PRINTF_HEX_LONG_U, (long_u)sender);
apply_autocmds(EVENT_REMOTEREPLY, winstr, str,
TRUE, curbuf);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1208,
/**/
1207,
/**/