diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-05-17 15:14:31 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-05-17 15:14:31 +0200 |
commit | 9cbf96cf66a321c7cf519b5d9e7812e9ca80e242 (patch) | |
tree | ef495c4d29d705e8d77c3e17bcde54a9c68e11ca /modules | |
parent | ae437d00b6b62d7a84f666b2c3a01e0e3967bf88 (diff) |
mpa: fix warning on osx
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mpa/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mpa/decode.c b/modules/mpa/decode.c index aadf43c..7dfaccb 100644 --- a/modules/mpa/decode.c +++ b/modules/mpa/decode.c @@ -125,9 +125,9 @@ int mpa_decode_frm(struct audec_state *ads, int16_t *sampv, size_t *sampc, if (!ads || !sampv || !sampc || !buf || len<=4) return EINVAL; - if (*(uint32_t*)buf != 0) { + if (*(uint32_t*)(void *)buf != 0) { error("MPA dec header is not zero %08X, not supported yet\n", - *(uint32_t*)buf); + *(uint32_t*)(void *)buf); return EPROTO; } |