aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/display.c b/display.c
index 5323c30..d6d3dba 100644
--- a/display.c
+++ b/display.c
@@ -442,7 +442,7 @@ static int reframe(struct window *wp)
static void show_line(struct line *lp)
{
- unsigned i = 0, len = llength(lp);
+ int i = 0, len = llength(lp);
while (i < len) {
unicode_t c;