summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
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 /src/ex_docmd.c
parentb1443b480fe9965a6eaa9211657d299e88964084 (diff)
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)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 112b67d29c..6f9f1b98a0 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