diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index f266dd8c4e..cf9612439b 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2002,7 +2002,7 @@ static const char *set_bool_option(const int opt_idx, char *const varp, const in // Disallow changing some options from secure mode if ((secure || sandbox != 0) && (options[opt_idx].flags & P_SECURE)) { - return (char *)e_secure; + return e_secure; } // Save the global value before changing anything. This is needed as for |