[Pkg-wmaker-commits] [wmcdplay] 52/79: wmcdplay: Fix -Wsign-compare compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 11:04:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcdplay.
commit 99c814ab7feea593500c79411c7b1e39cff9a7fc
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Thu Dec 18 12:30:51 2014 -0600
wmcdplay: Fix -Wsign-compare compiler warnings.
---
wmcdplay.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmcdplay.cc b/wmcdplay.cc
index ab18f4a..f1dd570 100644
--- a/wmcdplay.cc
+++ b/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<strlen(text);i++){
+ for(size_t i=0;i<strlen(text);i++){
char *chrptr=strchr(chrset,text[i]);
if(chrptr!=NULL){
int chrindex=chrptr-chrset;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcdplay.git
More information about the Pkg-wmaker-commits
mailing list