aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-03-16 08:23:24 +0000
committernicm <nicm>2020-03-16 08:23:24 +0000
commit9abeff7f0b8fcfab96af299a071de6483bf02a8f (patch)
treee3ea6d73760cb0292745791a82c0c241faf5fd95
parentd162ff48f3069c8371a40ddbcf987946dbddf953 (diff)
downloadrtmux-9abeff7f0b8fcfab96af299a071de6483bf02a8f.tar.gz
rtmux-9abeff7f0b8fcfab96af299a071de6483bf02a8f.tar.bz2
rtmux-9abeff7f0b8fcfab96af299a071de6483bf02a8f.zip
FIx type for %u, from Thomas Adam.
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index a4b452eb..ab1d9217 100644
--- a/window.c
+++ b/window.c
@@ -425,8 +425,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)