From 3db2433448c4084fc6b46ded52e9d8c8fc377d1c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 24 Jun 2009 22:51:47 +0000 Subject: [PATCH] Fix a type mismatch warning in assignment. --- screen.c | 6 ++++-- 1 file 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; } }