mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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 */
|
||||
if (*ea.arg == '*' || *ea.arg == '+')
|
||||
{
|
||||
errormsg = (char_u *)_(e_invalidreg);
|
||||
errormsg = _(e_invalidreg);
|
||||
goto doend;
|
||||
}
|
||||
#endif
|
||||
|
@@ -560,7 +560,7 @@ mb_init(void)
|
||||
else if (GetLastError() == ERROR_INVALID_PARAMETER)
|
||||
{
|
||||
codepage_invalid:
|
||||
return (char_u *)N_("E543: Not a valid codepage");
|
||||
return N_("E543: Not a valid codepage");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@@ -795,6 +795,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
745,
|
||||
/**/
|
||||
744,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user