comparison 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
comparison
equal deleted inserted replaced
15473:0b0d376c43ed 15474:79e3dcc5aa50
2288 { 2288 {
2289 #ifndef FEAT_CLIPBOARD 2289 #ifndef FEAT_CLIPBOARD
2290 /* check these explicitly for a more specific error message */ 2290 /* check these explicitly for a more specific error message */
2291 if (*ea.arg == '*' || *ea.arg == '+') 2291 if (*ea.arg == '*' || *ea.arg == '+')
2292 { 2292 {
2293 errormsg = (char_u *)_(e_invalidreg); 2293 errormsg = _(e_invalidreg);
2294 goto doend; 2294 goto doend;
2295 } 2295 }
2296 #endif 2296 #endif
2297 if (valid_yank_reg(*ea.arg, (ea.cmdidx != CMD_put 2297 if (valid_yank_reg(*ea.arg, (ea.cmdidx != CMD_put
2298 && !IS_USER_CMDIDX(ea.cmdidx)))) 2298 && !IS_USER_CMDIDX(ea.cmdidx))))