From 2192a308490953199714fd14c964e94893548d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 18 May 2020 07:32:27 +0200 Subject: [PATCH] vis: fix implicit enum conversion warning --- vis-operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vis-operators.c b/vis-operators.c index 4a0ba425b..6523a8533 100644 --- a/vis-operators.c +++ b/vis-operators.c @@ -303,7 +303,7 @@ bool vis_operator(Vis *vis, enum VisOperator id, ...) { if (vis->action.op == op) { /* hacky way to handle double operators i.e. things like * dd, yy etc where the second char isn't a movement */ - vis->action.type = LINEWISE; + vis_motion_type(vis, VIS_MOTIONTYPE_LINEWISE); vis_motion(vis, VIS_MOVE_LINE_NEXT); } else { vis->action.op = op;