ops.c: enable -Wconversion warning

This commit is contained in:
Charles Joachim
2016-05-07 23:55:07 -04:00
parent 748898b4dd
commit c2a1821611
13 changed files with 307 additions and 303 deletions

View File

@@ -1798,7 +1798,8 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
curbuf->b_ml.ml_line_count)
beep_flush();
else {
do_join(oap->line_count, oap->op_type == OP_JOIN, true, true, true);
do_join((size_t)oap->line_count, oap->op_type == OP_JOIN,
true, true, true);
auto_format(false, true);
}
break;
@@ -7666,7 +7667,7 @@ static void nv_join(cmdarg_T *cap)
prep_redo(cap->oap->regname, cap->count0,
NUL, cap->cmdchar, NUL, NUL, cap->nchar);
do_join(cap->count0, cap->nchar == NUL, true, true, true);
do_join((size_t)cap->count0, cap->nchar == NUL, true, true, true);
}
}