summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xclock.c2
1 files changed, 1 insertions, 1 deletions
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