aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-04 15:40:43 +0200
committerGitHub <noreply@github.com>2021-10-04 06:40:43 -0700
commit44f7b46199aebedb0ff7f8ce782b375a0e156b27 (patch)
treeffc0b6403ce358bda871d07b10b690da8e597966 /src/nvim/api/private/helpers.c
parentb4c54ffa2216f46f9f0c456c7c53d3f6a66dad15 (diff)
downloadrneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.gz
rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.bz2
rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.zip
refactor: remove redundant char casts #15888
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index 24fac0a916..8bd76b0917 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -396,7 +396,7 @@ void set_option_to(uint64_t channel_id, void *to, int type, String name, Object
return;
}
- stringval = (char *)value.data.string.data;
+ stringval = value.data.string.data;
}
const sctx_T save_current_sctx = current_sctx;