aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/change.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-07 18:39:27 +0200
committerGitHub <noreply@github.com>2021-10-07 18:39:27 +0200
commit684299ed4c9c21f0353ceaec2d1679f956617737 (patch)
tree6c041d17da377f9f5c691ffda778002aa78cbc0f /src/nvim/change.c
parentb55944e8af870e1132be8353070536dd17383852 (diff)
parent6d9dea42012fa9ae42832f12c9fd457003cb196f (diff)
downloadrneovim-684299ed4c9c21f0353ceaec2d1679f956617737.tar.gz
rneovim-684299ed4c9c21f0353ceaec2d1679f956617737.tar.bz2
rneovim-684299ed4c9c21f0353ceaec2d1679f956617737.zip
Merge pull request #15941 from dundargoc/refactor/remove-redundant-casts
refactor: remove redundant casts
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r--src/nvim/change.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c
index 4ac5edeaa9..7f702d888e 100644
--- a/src/nvim/change.c
+++ b/src/nvim/change.c
@@ -625,7 +625,7 @@ void ins_char_bytes(char_u *buf, size_t charlen)
// Copy bytes before the cursor.
if (col > 0) {
- memmove(newp, oldp, (size_t)col);
+ memmove(newp, oldp, col);
}
// Copy bytes after the changed character(s).