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