diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-08-28 21:47:13 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-08-28 21:47:13 +0000 |
| commit | f20105311324cd9998979d6302c79f7b6dc1879f (patch) | |
| tree | 15d0f287c735370d7c344c86a8addbbf04e4b2a5 /lib/libcurses/insertln.c | |
| parent | c69d09e4359180c046b109e2084de520486fdaf8 (diff) | |
Notes
Diffstat (limited to 'lib/libcurses/insertln.c')
| -rw-r--r-- | lib/libcurses/insertln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/insertln.c b/lib/libcurses/insertln.c index c2179f0f187f..4de367eb2685 100644 --- a/lib/libcurses/insertln.c +++ b/lib/libcurses/insertln.c @@ -56,7 +56,7 @@ winsertln(win) #endif if (win->orig == NULL) temp = win->lines[win->maxy - 1]; - for (y = win->maxy - 1; y > win->cury; --y) { + for (y = win->maxy - 1; y > (int) win->cury; --y) { win->lines[y]->flags &= ~__ISPASTEOL; win->lines[y - 1]->flags &= ~__ISPASTEOL; if (win->orig == NULL) |
