aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-06-24 17:16:11 +0300
committerZyX <kp-pav@yandex.ru>2016-06-24 17:16:11 +0300
commit458a4d04447e57c198210fb8f743a261e13b9855 (patch)
treeec80df8e529341884fbeaea64c86fbbfaf87bc38 /src/nvim/option.c
parent50f5bb8ade138a1a7a67838f01b7edb2f7396b92 (diff)
downloadrneovim-458a4d04447e57c198210fb8f743a261e13b9855.tar.gz
rneovim-458a4d04447e57c198210fb8f743a261e13b9855.tar.bz2
rneovim-458a4d04447e57c198210fb8f743a261e13b9855.zip
*: Fix linter errors
Also adds one exception to linter rules: typedef struct { kvec_t(Object) stack; } EncodedData; is completely valid (from the style guide point of view) code.
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 = "";
}