summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oclock.c b/oclock.c
index 37df634..24098a9 100644
--- a/oclock.c
+++ b/oclock.c
@@ -154,7 +154,7 @@ static void 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_BadValue);
#else