aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index ffe75c7047..c1d040afeb 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -4656,7 +4656,7 @@ set_option_value (
return NULL;
}
if (flags & P_STRING) {
- const char *s = (char *) string;
+ const char *s = (const char *)string;
if (s == NULL) {
s = "";
}