From 0172a3b11f777692ea06c1f3718390ce06b3dcd4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 9 Jun 2019 15:06:32 -0700 Subject: Clear -Wsign-compare warning from gcc 7.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xclock.c: In function ‘quit’: xclock.c:133:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] event->xclient.data.l[0] != wm_delete_window) { ^~ Signed-off-by: Alan Coopersmith --- xclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xclock.c b/xclock.c index 2533ded..2945a8a 100644 --- a/xclock.c +++ b/xclock.c @@ -130,7 +130,7 @@ quit(Widget w, XEvent *event, String *params, Cardinal *num_params) Arg arg; if (event->type == ClientMessage && - event->xclient.data.l[0] != wm_delete_window) { + (Atom)event->xclient.data.l[0] != wm_delete_window) { #ifdef XKB XkbStdBell(XtDisplay(w), XtWindow(w), 0, XkbBI_MinorError); #else -- cgit v1.2.3