summaryrefslogtreecommitdiff
path: root/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'actions.c')
-rw-r--r--actions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions.c b/actions.c
index 2857f96..6b454da 100644
--- a/actions.c
+++ b/actions.c
@@ -411,7 +411,8 @@ static void power(Widget w, XEvent *ev, String *vector, Cardinal *count)
/*ARGSUSED*/
static void quit(Widget w, XEvent *ev, String *vector, Cardinal *count)
{
- if (ev->type == ClientMessage && ev->xclient.data.l[0] != wm_delete_window)
+ if (ev->type == ClientMessage &&
+ ((Atom) ev->xclient.data.l[0]) != wm_delete_window)
ringbell();
else
Quit();