From 9abeff7f0b8fcfab96af299a071de6483bf02a8f Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 16 Mar 2020 08:23:24 +0000 Subject: FIx type for %u, from Thomas Adam. --- window.c | 4 ++-- 1 file 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) -- cgit