0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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