diff options
author | 2020-03-16 08:23:24 +0000 | |
---|---|---|
committer | 2020-03-16 08:23:24 +0000 | |
commit | 0b4cfe0b7cf35483287c7f2f9fd41e45391fd7b3 (patch) | |
tree | 64e542f95e4b1369874daaa896328a8977417122 /usr.bin/tmux/window.c | |
parent | Make the check for vmm_softc->mode exhaustive and return an error (diff) | |
download | wireguard-openbsd-0b4cfe0b7cf35483287c7f2f9fd41e45391fd7b3.tar.xz wireguard-openbsd-0b4cfe0b7cf35483287c7f2f9fd41e45391fd7b3.zip |
FIx type for %u, from Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/window.c')
-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) |