diff options
author | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-29 09:18:53 +0000 |
---|---|---|
committer | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-29 09:18:53 +0000 |
commit | 4dc9465cb84324df27fa22256f05bff8e0859739 (patch) | |
tree | fa5433cab17654e5ccc7d306f6905df21decbd30 /libmpdemux/cddb.c | |
parent | d60a88e4faddb30d197be3057616f6ba7032b3cc (diff) | |
download | mpv-4dc9465cb84324df27fa22256f05bff8e0859739.tar.bz2 mpv-4dc9465cb84324df27fa22256f05bff8e0859739.tar.xz |
GCC warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cddb.c')
-rw-r--r-- | libmpdemux/cddb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/cddb.c b/libmpdemux/cddb.c index ce38ef5bd3..910260bd7a 100644 --- a/libmpdemux/cddb.c +++ b/libmpdemux/cddb.c @@ -371,7 +371,7 @@ cddb_read_parse(HTTP_header_t *http_hdr, cddb_data_t *cddb_data) { } // Ok found the end // do a sanity check - if( http_hdr->body_size<(ptr2-ptr) ) { + if( http_hdr->body_size<(unsigned int)(ptr2-ptr) ) { printf("Unexpected fix me\n"); return -1; } @@ -746,7 +746,7 @@ cddb_parse_xmcd(char *xmcd_file) { // Search for the genre else if( xmcd_parse_dgenre(cd_info, ptr) ); // Search for a track title - else if( xmcd_parse_ttitle(cd_info, ptr) ); + else if( xmcd_parse_ttitle(cd_info, ptr) ) audiolen++; // <-- audiolen++ to shut up gcc warning } if( ptr2[1]=='\n' ) ptr2++; pos = (ptr2+1)-ptr; |