PVS/V1028: cast operands, not the result

This commit is contained in:
Justin M. Keyes
2019-01-15 22:20:26 +01:00
parent dca0da4e3f
commit ed171f7be2
4 changed files with 46 additions and 39 deletions

View File

@@ -19902,13 +19902,15 @@ void ex_function(exarg_T *eap)
if (FUNCLINE(fp, j) == NULL)
continue;
msg_putchar('\n');
msg_outnum((long)(j + 1));
if (j < 9)
msg_outnum((long)j + 1);
if (j < 9) {
msg_putchar(' ');
if (j < 99)
}
if (j < 99) {
msg_putchar(' ');
msg_prt_line(FUNCLINE(fp, j), FALSE);
ui_flush(); /* show a line at a time */
}
msg_prt_line(FUNCLINE(fp, j), false);
ui_flush(); // show a line at a time
os_breakcheck();
}
if (!got_int) {