aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt/vt_buf.c
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-29 08:16:31 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-29 08:16:31 +0000
commitb7fe496196b7059d212bdf15f914033d25ab9eaf (patch)
tree2d723efbed64f1ef4bc5cc8441ce98703fc2b9a1 /sys/dev/vt/vt_buf.c
parent69322f44edcf37c83891ef95f77acfe19a35e03e (diff)
downloadsrc-b7fe496196b7059d212bdf15f914033d25ab9eaf.tar.gz
src-b7fe496196b7059d212bdf15f914033d25ab9eaf.zip
vt(4): Change vb_history_size from "int" to "unsigned int"
CID: 1230002, 1230003 MFC after: 1 week
Notes
Notes: svn path=/head/; revision=270785
Diffstat (limited to 'sys/dev/vt/vt_buf.c')
-rw-r--r--sys/dev/vt/vt_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vt/vt_buf.c b/sys/dev/vt/vt_buf.c
index 1c76ea5a0cbd..d468173605e6 100644
--- a/sys/dev/vt/vt_buf.c
+++ b/sys/dev/vt/vt_buf.c
@@ -451,7 +451,7 @@ vtbuf_sethistory_size(struct vt_buf *vb, int size)
}
void
-vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, int history_size)
+vtbuf_grow(struct vt_buf *vb, const term_pos_t *p, unsigned int history_size)
{
term_char_t *old, *new, **rows, **oldrows, **copyrows, *row;
int bufsize, rowssize, w, h, c, r;