wmload: Cast data from client message event to Atom for comparison.

Fixes -Wsign-compare compiler warning.
This commit is contained in:
Doug Torrance 2015-04-07 02:45:22 -05:00 committed by Carlos R. Mafra
parent 04a36b3ae4
commit 8f06836b0f

View file

@ -325,7 +325,7 @@ int main(int argc,char *argv[])
break; break;
case ClientMessage: case ClientMessage:
if ((Event.xclient.format != 32) || 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; break;
case DestroyNotify: case DestroyNotify:
XFreeGC(dpy, NormalGC); XFreeGC(dpy, NormalGC);