diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:04:06 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-13 16:04:06 -0700 |
commit | c125d8bac5b1629e36069c13a13919e542dc3a9b (patch) | |
tree | 57ce3a24d7bfaac57d24d5afc3a78435bf1367cd | |
parent | fc54ce8a6f248e465a518f807dd5e51657b6e535 (diff) |
Add cast to clear -Wsign-compare warning
ico.c: In function ‘do_ico_window’:
ico.c:1084:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (xev.xclient.data.l[0] == wm_delete_window)
^~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | ico.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |