diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-29 13:23:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 13:23:43 +0200 |
commit | e6af1cf250cb3a5e4434011333ee6de6e91a55ea (patch) | |
tree | be3ae6f71c0c3893194221719e393046e305ddf0 /src/nvim/ex_docmd.c | |
parent | 5fe6bde296569e275a0b83d497a54611f73c410a (diff) | |
parent | 20305494f8189994a6dc39cd450837a8f9e58dee (diff) | |
download | rneovim-e6af1cf250cb3a5e4434011333ee6de6e91a55ea.tar.gz rneovim-e6af1cf250cb3a5e4434011333ee6de6e91a55ea.tar.bz2 rneovim-e6af1cf250cb3a5e4434011333ee6de6e91a55ea.zip |
Merge pull request #19971 from dundargoc/refactor/remove-casts
refactor: remove redundant casts
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 5b38118a33..206fd515e3 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -3088,7 +3088,7 @@ cmdidx_T excmd_get_cmdidx(const char *cmd, size_t len) { cmdidx_T idx; - for (idx = (cmdidx_T)0; (int)idx < (int)CMD_SIZE; idx = (cmdidx_T)((int)idx + 1)) { + for (idx = (cmdidx_T)0; (int)idx < CMD_SIZE; idx = (cmdidx_T)((int)idx + 1)) { if (strncmp(cmdnames[(int)idx].cmd_name, cmd, len) == 0) { break; } |