From 8f06836b0f94d0df4d330253425936e1f02d59bc Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Tue, 7 Apr 2015 02:45:22 -0500 Subject: [PATCH] wmload: Cast data from client message event to Atom for comparison. Fixes -Wsign-compare compiler warning. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index 9ea6c9b..d593205 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -325,7 +325,7 @@ int main(int argc,char *argv[]) break; case ClientMessage: if ((Event.xclient.format != 32) || - (Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW)) + ((Atom)Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW)) break; case DestroyNotify: XFreeGC(dpy, NormalGC);