summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:04:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:04:43 +0000
commit3ec8efc803e3fd8c60e7cc7af038d65fe859884b (patch)
treeae176f529f35c8b29bd884fe3f138d9c3de2a1d4 /screen.c
parentf7a9eb46fc0c0be659912b0cf9c2e7d7ced86bf9 (diff)
Fix a type mismatch warning in assignment.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index a611a7dd..f8472938 100644
--- a/screen.c
+++ b/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>
@@ -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;
}
}