summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-03-16 08:23:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-03-16 08:23:25 +0000
commit063979da47a3b117a2010c6d31ec8448ef50de43 (patch)
tree61960edb2162d0c258b69aecccd867240a3ff085 /usr.bin/tmux/window.c
parenteb56323ae441d61a661e3f4bef7a26e0cea2dd57 (diff)
FIx type for %u, from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 7744bd0dd5b..8ade155a82f 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.248 2020/02/14 13:57:58 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.249 2020/03/16 08:23:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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)