diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-09 15:06:32 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-09 15:06:32 -0700 |
commit | 0172a3b11f777692ea06c1f3718390ce06b3dcd4 (patch) | |
tree | b4b61f2eeff58f55fd34723cec49fdb45ddb7d65 | |
parent | 8ef7efe5863ecf6d578900e8ca7398fc10cd566a (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>
-rw-r--r-- | xclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |