mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.0745: compiler warnings for signed/unsigned string
Problem: Compiler warnings for signed/unsigned string. Solution: Remove type casts. (John Marriott)
This commit is contained in:
@@ -2290,7 +2290,7 @@ do_one_cmd(
|
|||||||
/* check these explicitly for a more specific error message */
|
/* check these explicitly for a more specific error message */
|
||||||
if (*ea.arg == '*' || *ea.arg == '+')
|
if (*ea.arg == '*' || *ea.arg == '+')
|
||||||
{
|
{
|
||||||
errormsg = (char_u *)_(e_invalidreg);
|
errormsg = _(e_invalidreg);
|
||||||
goto doend;
|
goto doend;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -560,7 +560,7 @@ mb_init(void)
|
|||||||
else if (GetLastError() == ERROR_INVALID_PARAMETER)
|
else if (GetLastError() == ERROR_INVALID_PARAMETER)
|
||||||
{
|
{
|
||||||
codepage_invalid:
|
codepage_invalid:
|
||||||
return (char_u *)N_("E543: Not a valid codepage");
|
return N_("E543: Not a valid codepage");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -795,6 +795,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 */
|
||||||
|
/**/
|
||||||
|
745,
|
||||||
/**/
|
/**/
|
||||||
744,
|
744,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user