aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-31 10:17:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-31 10:17:00 +0000
commit0271e377c03f451f200548dfd2ec2746bd062665 (patch)
treea81d3f1f4b1a71286281a9dd4d8949a8813a3528 /render.c
parentselection: dnd: fix wl_data_offer_destroy() race (diff)
parenttiocswinsz: fix compilation error on e.g. ppc64 (diff)
Merge branch 'silence-tiocswinsz-conversion-warning'
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index fa9a967b..3cad92f9 100644
--- a/render.c
+++ b/render.c
@@ -2206,7 +2206,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
term->margins.left, term->margins.right, term->margins.top, term->margins.bottom);
/* Signal TIOCSWINSZ */
- if (term->ptmx >= 0 && ioctl(term->ptmx, TIOCSWINSZ,
+ if (term->ptmx >= 0 && ioctl(term->ptmx, (unsigned int)TIOCSWINSZ,
&(struct winsize){
.ws_row = term->rows,
.ws_col = term->cols,