From f59aef482d40ed9f31e1ac870b86e84280030286 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Thu, 18 Dec 2014 12:30:51 -0600 Subject: [PATCH] wmcdplay: Fix -Wsign-compare compiler warnings. --- wmcdplay/wmcdplay.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmcdplay/wmcdplay.cc b/wmcdplay/wmcdplay.cc index ab18f4a..f1dd570 100644 --- a/wmcdplay/wmcdplay.cc +++ b/wmcdplay/wmcdplay.cc @@ -224,7 +224,7 @@ int main(int argc, char **argv) pressEvent(&xev.xbutton); break; case ClientMessage: - if(xev.xclient.data.l[0]==deleteWin) + if((Atom) xev.xclient.data.l[0]==deleteWin) done=true; break; } @@ -607,7 +607,7 @@ void update(){ void drawText(int x, int y, char *text){ int drawx=x; - for(int i=0;i