summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cddb.c
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 09:18:53 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-29 09:18:53 +0000
commit4dc9465cb84324df27fa22256f05bff8e0859739 (patch)
treefa5433cab17654e5ccc7d306f6905df21decbd30 /libmpdemux/cddb.c
parentd60a88e4faddb30d197be3057616f6ba7032b3cc (diff)
downloadmpv-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.c4
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;