mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
|
mch_errmsg(char *str)
|
||||||
{
|
{
|
||||||
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
||||||
int len = STRLEN(str);
|
int len = (int)STRLEN(str);
|
||||||
DWORD nwrite = 0;
|
DWORD nwrite = 0;
|
||||||
DWORD mode = 0;
|
DWORD mode = 0;
|
||||||
HANDLE h = GetStdHandle(STD_ERROR_HANDLE);
|
HANDLE h = GetStdHandle(STD_ERROR_HANDLE);
|
||||||
@@ -3026,7 +3026,7 @@ mch_errmsg(char *str)
|
|||||||
mch_msg(char *str)
|
mch_msg(char *str)
|
||||||
{
|
{
|
||||||
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
|
||||||
int len = STRLEN(str);
|
int len = (int)STRLEN(str);
|
||||||
DWORD nwrite = 0;
|
DWORD nwrite = 0;
|
||||||
DWORD mode;
|
DWORD mode;
|
||||||
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
|
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
@@ -4800,7 +4800,7 @@ addstate_here(
|
|||||||
emsg(_(e_maxmempat));
|
emsg(_(e_maxmempat));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
newl = (nfa_thread_T *)alloc(newsize);
|
newl = (nfa_thread_T *)alloc((int)newsize);
|
||||||
if (newl == NULL)
|
if (newl == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
l->len = newlen;
|
l->len = newlen;
|
||||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
919,
|
||||||
/**/
|
/**/
|
||||||
918,
|
918,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user