summaryrefslogtreecommitdiff
path: root/xclock.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-09 15:06:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-09 15:06:32 -0700
commit0172a3b11f777692ea06c1f3718390ce06b3dcd4 (patch)
treeb4b61f2eeff58f55fd34723cec49fdb45ddb7d65 /xclock.c
parent8ef7efe5863ecf6d578900e8ca7398fc10cd566a (diff)
Clear -Wsign-compare warning from gcc 7.3
xclock.c: In function ‘quit’: xclock.c:133:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] event->xclient.data.l[0] != wm_delete_window) { ^~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xclock.c')
-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