[Pkg-wmaker-commits] [wmload] 22/58: wmload: Cast data from client message event to Atom for comparison.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:36:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmload.

commit f0820b20b32845a1b6176b1ad7fbb6ecf4f26ef3
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Apr 7 02:45:22 2015 -0500

    wmload: Cast data from client message event to Atom for comparison.
    
    Fixes -Wsign-compare compiler warning.
---
 wmload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmload.c b/wmload.c
index 9ea6c9b..d593205 100644
--- a/wmload.c
+++ b/wmload.c
@@ -325,7 +325,7 @@ int main(int argc,char *argv[])
 	      break;
 	    case ClientMessage:
     	      if ((Event.xclient.format != 32) ||
-		  (Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW))
+		  ((Atom)Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW))
 		break;
 	    case DestroyNotify:
 	      XFreeGC(dpy, NormalGC);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmload.git



More information about the Pkg-wmaker-commits mailing list