summarylogtreecommitdiffstats
path: root/io-curses.patch
blob: ffff789ec1ec1cd21542aea608c2be0621fe8824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/io-curses.cc b/src/io-curses.cc
index e808775..d0ec3a7 100644
--- a/src/io-curses.cc
+++ b/src/io-curses.cc
@@ -538,7 +538,7 @@ _io_repaint (void)
 		if (win->lh_wid)
 		{
 			move (win->win_down - 1, win->win_over - win->lh_wid);
-			printw ("#%*d ", win->lh_wid - 2, 1 + win - wins);
+			printw ("#%*ld ", win->lh_wid - 2, 1 + win - wins);
 			if (win->flags & WIN_EDGE_REV)
 				s_display.cdstandout();
 			cc = win->screen.lc;