From: Andre Noll Date: Sun, 12 Oct 2008 22:03:46 +0000 (+0200) Subject: mp3_afh.c: Fix compilation on Mac OS 10.5. X-Git-Tag: v0.3.3~40 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=c50233267a6619f3c91a9493aada585696bac84b;ds=inline mp3_afh.c: Fix compilation on Mac OS 10.5. uint is not defined on newer Mac OS X. --- diff --git a/mp3_afh.c b/mp3_afh.c index ca644160..b809e8b3 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -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) &&