0
0
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:
Bram Moolenaar
2019-01-14 20:16:40 +01:00
parent b1443b480f
commit 99b1272f88
3 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -795,6 +795,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
745,
/**/
744,
/**/