summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index a9f92429..1835544c 100644
--- a/term.c
+++ b/term.c
@@ -315,7 +315,7 @@ term_flushln(struct termp *p)
putchar(' ');
}
if (TERMP_HANG & p->flags)
- sv = vis - maxvis;
+ sv = (int)(vis - maxvis);
p->col = 0;
return;
}