Permalink
Browse files

patch 8.0.0950: MS-Windows: wrong #ifdef, compiler warnings

Problem:    MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
Solution:   Change variable type. Change TERMINAL to FEAT_TERMINAL.
  • Loading branch information...
brammool committed Aug 17, 2017
1 parent 9e13aa7 commit ade59630c737026edfaeff2d76985b304a34afb5
Showing with 4 additions and 2 deletions.
  1. +1 −1 src/option.h
  2. +1 −1 src/os_win32.c
  3. +2 −0 src/version.c
View
@@ -966,7 +966,7 @@ EXTERN long p_wmh; /* 'winminheight' */
EXTERN long p_wmw; /* 'winminwidth' */
EXTERN long p_wiw; /* 'winwidth' */
#endif
#if defined(WIN3264) && defined(TERMINAL)
#if defined(WIN3264) && defined(FEAT_TERMINAL)
EXTERN char_u *p_winptydll; /* 'winptydll' */
#endif
EXTERN int p_ws; /* 'wrapscan' */
View
@@ -5072,7 +5072,7 @@ make_job_env(garray_T *gap, dict_T *env)
--todo;
if (wkey != NULL && wval != NULL)
{
int n;
size_t n;
size_t lkey = wcslen(wkey);
size_t lval = wcslen(wval);
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
950,
/**/
949,
/**/

0 comments on commit ade5963

Please sign in to comment.