From b5de191e8782ae857a74e0dd4293032c0dd68b11 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 3 Jul 2019 10:20:20 +0300 Subject: [PATCH] Fix compiler warnings due to a recent commit * src/xdisp.c (expose_window, expose_frame): Avoid compilation warnings about printing unsigned values with %d. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index c13a950e3a6..5fb690e746d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -32530,7 +32530,7 @@ expose_window (struct window *w, const Emacs_Rectangle *fr) struct glyph_row *row; struct glyph_row *first_overlapping_row, *last_overlapping_row; - redisplay_trace ("expose_window (%d, %d, %d, %d)\n", + redisplay_trace ("expose_window (%d, %d, %u, %u)\n", r.x, r.y, r.width, r.height); /* Convert to window coordinates. */ @@ -32719,7 +32719,7 @@ expose_frame (struct frame *f, int x, int y, int w, int h) r.height = h; } - redisplay_trace ("expose_frame (%d, %d, %d, %d)\n", + redisplay_trace ("expose_frame (%d, %d, %u, %u)\n", r.x, r.y, r.width, r.height); mouse_face_overwritten_p = expose_window_tree (XWINDOW (f->root_window), &r); -- 2.39.2