mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Fix a type mismatch warning in assignment.
This commit is contained in:
parent
f7a9eb46fc
commit
3ec8efc803
8
screen.c
8
screen.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: screen.c,v 1.4 2009/06/24 19:12:44 nicm Exp $ */
|
/* $OpenBSD: screen.c,v 1.5 2009/06/24 22:51:47 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -228,8 +228,10 @@ screen_resize_y(struct screen *s, u_int sy)
|
|||||||
|
|
||||||
/* Then fill the rest in with blanks. */
|
/* Then fill the rest in with blanks. */
|
||||||
for (i = gd->hsize + sy - needed; i < gd->hsize + sy; i++) {
|
for (i = gd->hsize + sy - needed; i < gd->hsize + sy; i++) {
|
||||||
gd->size[i] = gd->usize[i] = 0;
|
gd->size[i] = 0;
|
||||||
gd->data[i] = gd->udata[i] = NULL;
|
gd->data[i] = NULL;
|
||||||
|
gd->usize[i] = 0;
|
||||||
|
gd->udata[i] = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user