X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=41874b86404cfc239a24891c30dcb6545b887f38;hp=ca6441606c6efaeffa1531975387f90070dfb4ad;hb=8eb5a15bfcc068e8d2504bb84b14455e9fc7c3ba;hpb=753b26859be2150d3f4e7840a86412f96f60627a diff --git a/mp3_afh.c b/mp3_afh.c index ca644160..41874b86 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2008 Andre Noll + * Copyright (C) 2003-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -82,7 +82,7 @@ static char *get_latin1(id3_ucs4_t const *string) return (char *)id3_ucs4_latin1duplicate(string); } -char *get_stringlist(union id3_field *field) +static char *get_stringlist(union id3_field *field) { unsigned int k, nstrings = id3_field_getnstrings(field); char *result = NULL; @@ -280,7 +280,7 @@ static int frame_length(struct mp3header *header) static int compare_headers(struct mp3header *h1,struct mp3header *h2) { - if ((*(uint*)h1) == (*(uint*)h2)) + if ((*(unsigned int*)h1) == (*(unsigned int*)h2)) return 1; if ((h1->version == h2->version) && (h1->layer == h2->layer) &&