diff src/ex_docmd.c @ 15474:79e3dcc5aa50 v8.1.0745

patch 8.1.0745: compiler warnings for signed/unsigned string commit https://github.com/vim/vim/commit/99b1272f88a493421d438e5e184003763efb4b8f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 14 20:16:40 2019 +0100 patch 8.1.0745: compiler warnings for signed/unsigned string Problem: Compiler warnings for signed/unsigned string. Solution: Remove type casts. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Jan 2019 20:30:06 +0100
parents 55ccc2d353bd
children da8b98c008bf
line wrap: on
line diff
--- 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