From 458a4d04447e57c198210fb8f743a261e13b9855 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 24 Jun 2016 17:16:11 +0300 Subject: *: 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. --- src/nvim/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/option.c') 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 = ""; } -- cgit