diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-03-16 08:23:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-03-16 08:23:25 +0000 |
commit | 063979da47a3b117a2010c6d31ec8448ef50de43 (patch) | |
tree | 61960edb2162d0c258b69aecccd867240a3ff085 /usr.bin | |
parent | eb56323ae441d61a661e3f4bef7a26e0cea2dd57 (diff) |
FIx type for %u, from Thomas Adam.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/window.c | 6 |
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) |