summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-24 22:51:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-24 22:51:47 +0000
commit3db2433448c4084fc6b46ded52e9d8c8fc377d1c (patch)
tree9fc5210eca58ec367e440b61e412870f53ab68eb /screen.c
parent7e796dea035ed7028fc7188e65979725a24ff03d (diff)
Fix a type mismatch warning in assignment.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index a79a7d42..fb625aa9 100644
--- a/screen.c
+++ b/screen.c
@@ -228,8 +228,10 @@ screen_resize_y(struct screen *s, u_int sy)
/* Then fill the rest in with blanks. */
for (i = gd->hsize + sy - needed; i < gd->hsize + sy; i++) {
- gd->size[i] = gd->usize[i] = 0;
- gd->data[i] = gd->udata[i] = NULL;
+ gd->size[i] = 0;
+ gd->data[i] = NULL;
+ gd->usize[i] = 0;
+ gd->udata[i] = NULL;
}
}