aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-16 10:01:27 +0000
committerThomas Adam <thomas@xteddy.org>2020-03-16 10:01:27 +0000
commit45be93f6044e9315e066c7ebd75bdd9c54a97498 (patch)
tree057597d17bae3227cebd6b752c21264455dee9c7 /window.c
parentf584fe1b006abf42aebd0b25b2ee8d082202c778 (diff)
parent7cae4e8e89a98329843e3df8b3644f501288256b (diff)
downloadrtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.tar.gz
rtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.tar.bz2
rtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.zip
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index f911f186..c0395287 100644
--- a/window.c
+++ b/window.c
@@ -423,8 +423,8 @@ window_resize(struct window *w, u_int sx, u_int sy, int xpixel, int ypixel)
ypixel = DEFAULT_YPIXEL;
log_debug("%s: @%u resize %ux%u (%ux%u)", __func__, w->id, sx, sy,
- xpixel == -1 ? w->xpixel : xpixel,
- ypixel == -1 ? w->ypixel : ypixel);
+ xpixel == -1 ? w->xpixel : (u_int)xpixel,
+ ypixel == -1 ? w->ypixel : (u_int)ypixel);
w->sx = sx;
w->sy = sy;
if (xpixel != -1)