summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-14 20:16:40 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-14 20:16:40 +0100
commit99b1272f88a493421d438e5e184003763efb4b8f (patch)
tree534482629c45c727e7856add1618a9f90f6b7c4c
parentb1443b480fe9965a6eaa9211657d299e88964084 (diff)
downloadvim-git-99b1272f88a493421d438e5e184003763efb4b8f.tar.gz
patch 8.1.0745: compiler warnings for signed/unsigned stringv8.1.0745
Problem: Compiler warnings for signed/unsigned string. Solution: Remove type casts. (John Marriott)
-rw-r--r--src/ex_docmd.c2
-rw-r--r--src/mbyte.c2
-rw-r--r--src/version.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 112b67d29..6f9f1b98a 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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
diff --git a/src/mbyte.c b/src/mbyte.c
index 9c40072f4..66a3cc29d 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -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
diff --git a/src/version.c b/src/version.c
index 69bbcfc1f..60d82d206 100644
--- a/src/version.c
+++ b/src/version.c
@@ -796,6 +796,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 745,
+/**/
744,
/**/
743,