mp3_afh.c: Fix compilation on Mac OS 10.5.
[paraslash.git] / mp3_afh.c
index ca6441606c6efaeffa1531975387f90070dfb4ad..b809e8b3611d278d41b6ad7f965aa547389e52d3 100644 (file)
--- 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) &&