From: Eli Zaretskii Date: Wed, 3 Jul 2019 07:20:20 +0000 (+0300) Subject: Fix compiler warnings due to a recent commit X-Git-Tag: emacs-27.0.90~2113 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5de191e8782ae857a74e0dd4293032c0dd68b11;p=emacs.git Fix compiler warnings due to a recent commit * src/xdisp.c (expose_window, expose_frame): Avoid compilation warnings about printing unsigned values with %d. --- 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);