forked from aniani/vim
patch 8.1.0919: compiler warnings
Problem: Compiler warnings. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -2938,7 +2938,7 @@ do_more_prompt(int typed_char)
|
||||
mch_errmsg(char *str)
|
||||
{
|
||||
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
||||
int len = STRLEN(str);
|
||||
int len = (int)STRLEN(str);
|
||||
DWORD nwrite = 0;
|
||||
DWORD mode = 0;
|
||||
HANDLE h = GetStdHandle(STD_ERROR_HANDLE);
|
||||
@@ -3026,7 +3026,7 @@ mch_errmsg(char *str)
|
||||
mch_msg(char *str)
|
||||
{
|
||||
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
||||
int len = STRLEN(str);
|
||||
int len = (int)STRLEN(str);
|
||||
DWORD nwrite = 0;
|
||||
DWORD mode;
|
||||
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
|
@@ -4800,7 +4800,7 @@ addstate_here(
|
||||
emsg(_(e_maxmempat));
|
||||
return NULL;
|
||||
}
|
||||
newl = (nfa_thread_T *)alloc(newsize);
|
||||
newl = (nfa_thread_T *)alloc((int)newsize);
|
||||
if (newl == NULL)
|
||||
return NULL;
|
||||
l->len = newlen;
|
||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
919,
|
||||
/**/
|
||||
918,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user