diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 19:41:25 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 19:41:25 -0700 |
commit | 5c28b6eeb241162894999aa36b335eb2441b2c1e (patch) | |
tree | 37510249f7f0dd275824294b5829ca0ca133221f | |
parent | e18a25f27313d90ec8da4057b8413b6937bee1c2 (diff) |
Fix -Wsign-compare warning in quit() function
Reported by gcc 7.3:
xbiff.c: In function ‘quit’:
xbiff.c:55:34: 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-- | xbiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ static Atom wm_delete_window; static void quit (Widget w, XEvent *event, String *params, Cardinal *num_params) { if (event->type == ClientMessage && - event->xclient.data.l[0] != wm_delete_window) { + ((Atom) event->xclient.data.l[0]) != wm_delete_window) { XBell (XtDisplay(w), 0); return; } |