diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:25:03 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:25:03 -0700 |
commit | f6a658deeac58d170c3fef1d785d723a6d830119 (patch) | |
tree | 52b8c1fd7d127acbb735639c6a3bdd9553ea8f4d | |
parent | 6d55831ae7d1c27a6f4851449b830c248b693bfe (diff) |
Add cast to clear -Wsign-compare warning
oclock.c: In function ‘quit’:
oclock.c:157: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-- | oclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |