comparison src/ex_cmds.c @ 27426:41e0dcf38521 v8.2.4241

patch 8.2.4241: some type casts are redundant Commit: https://github.com/vim/vim/commit/420fabcd4ffeaf79082a6e43db91e1d363f88f27 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Fri Jan 28 15:28:04 2022 +0000 patch 8.2.4241: some type casts are redundant Problem: Some type casts are redundant. Solution: Remove the type casts. (closes https://github.com/vim/vim/issues/9643)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Jan 2022 16:30:11 +0100
parents c9a6c79998b2
children b4c147ad4912
comparison
equal deleted inserted replaced
27425:b5bd6c851b8a 27426:41e0dcf38521
1183 if (!do_out || STRCMP(p_srr, ">") == 0 || !do_in) 1183 if (!do_out || STRCMP(p_srr, ">") == 0 || !do_in)
1184 redraw_later_clear(); 1184 redraw_later_clear();
1185 1185
1186 if (do_out) 1186 if (do_out)
1187 { 1187 {
1188 if (u_save((linenr_T)(line2), (linenr_T)(line2 + 1)) == FAIL) 1188 if (u_save(line2, (linenr_T)(line2 + 1)) == FAIL)
1189 { 1189 {
1190 vim_free(cmd_buf); 1190 vim_free(cmd_buf);
1191 goto error; 1191 goto error;
1192 } 1192 }
1193 redraw_curbuf_later(VALID); 1193 redraw_curbuf_later(VALID);