diff options
Diffstat (limited to 'src/fold.c')
-rw-r--r-- | src/fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fold.c b/src/fold.c index e4c7f412e0..35ceceb4ad 100644 --- a/src/fold.c +++ b/src/fold.c @@ -3032,7 +3032,7 @@ foldlevelExpr(fline_T *flp) /* KeyTyped may be reset to 0 when calling a function which invokes * do_cmdline(). To make 'foldopen' work correctly restore KeyTyped. */ save_keytyped = KeyTyped; - n = eval_foldexpr(flp->wp->w_p_fde, &c); + n = (int)eval_foldexpr(flp->wp->w_p_fde, &c); KeyTyped = save_keytyped; switch (c) |