summaryrefslogtreecommitdiff
path: root/ico.c
diff options
context:
space:
mode:
Diffstat (limited to 'ico.c')
-rw-r--r--ico.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ico.c b/ico.c
index aa9819e..09ecf1e 100644
--- a/ico.c
+++ b/ico.c
@@ -1081,7 +1081,7 @@ do_ico_window(void *ptr)
#ifdef DEBUG
printf("thread %x message\n", xthread_self());
#endif
- if (xev.xclient.data.l[0] == wm_delete_window)
+ if ((Atom) xev.xclient.data.l[0] == wm_delete_window)
do_it = False;
else
XBell (dpy, 0);