diff options
author | 2009-06-24 22:51:47 +0000 | |
---|---|---|
committer | 2009-06-24 22:51:47 +0000 | |
commit | b82fbca221a3f4a5c3143c036f2ab21dc9dad259 (patch) | |
tree | 3c67cacaaba16c3139da54bb07aac1861a326f07 | |
parent | Change find-window and monitor-content to use fnmatch(3). For convenience and (diff) | |
download | wireguard-openbsd-b82fbca221a3f4a5c3143c036f2ab21dc9dad259.tar.xz wireguard-openbsd-b82fbca221a3f4a5c3143c036f2ab21dc9dad259.zip |
Fix a type mismatch warning in assignment.
-rw-r--r-- | usr.bin/tmux/screen.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/screen.c b/usr.bin/tmux/screen.c index a611a7dda61..f847293850c 100644 --- a/usr.bin/tmux/screen.c +++ b/usr.bin/tmux/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; } } |