mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-13 09:28:14 +01:00
Fix a type mismatch warning in assignment.
This commit is contained in:
parent
7e796dea03
commit
3db2433448
6
screen.c
6
screen.c
@ -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