projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02000a1
)
mp3_afh.c: Fix compilation on Mac OS 10.5.
author
Andre Noll
<maan@systemlinux.org>
Sun, 12 Oct 2008 22:03:46 +0000
(
00:03
+0200)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 12 Oct 2008 22:03:46 +0000
(
00:03
+0200)
uint is not defined on newer Mac OS X.
mp3_afh.c
patch
|
blob
|
history
diff --git
a/mp3_afh.c
b/mp3_afh.c
index
ca64416
..
b809e8b
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 ((*(u
int*)h1) == (*(u
int*)h2))
+ if ((*(u
nsigned int*)h1) == (*(unsigned
int*)h2))
return 1;
if ((h1->version == h2->version) &&
(h1->layer == h2->layer) &&