summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index d5a41fbce..ad200598b 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -5170,7 +5170,7 @@ eval7(arg, rettv, evaluate, want_string)
* what follows. So set it here. */
if (rettv->v_type == VAR_UNKNOWN && !evaluate && **arg == '(')
{
- rettv->vval.v_string = vim_strsave("");
+ rettv->vval.v_string = vim_strsave((char_u *)"");
rettv->v_type = VAR_FUNC;
}