diff options
Diffstat (limited to 'src/nvim/context.c')
-rw-r--r-- | src/nvim/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/context.c b/src/nvim/context.c index c30a05a3c8..0e0d8fdfde 100644 --- a/src/nvim/context.c +++ b/src/nvim/context.c @@ -130,7 +130,7 @@ bool ctx_restore(Context *ctx, const int flags) } char_u *op_shada; - get_option_value("shada", NULL, &op_shada, OPT_GLOBAL); + get_option_value("shada", NULL, (char **)&op_shada, OPT_GLOBAL); set_option_value("shada", 0L, "!,'100,%", OPT_GLOBAL); if (flags & kCtxRegs) { |