aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaszlo Ashin <kodest@gmail.com>2008-11-20 19:19:30 +0100
committerLaszlo Ashin <kodest@gmail.com>2008-11-20 19:20:25 +0100
commit65a8822a0b29c2f321922839bb3e7c28c18cc7c9 (patch)
tree5498b268f2dbb6574afcc573fc66cff4bebcbdd6 /src
parent7ac3abf49958613504166efbd5fed93a40c176f9 (diff)
downloadmpd-65a8822a0b29c2f321922839bb3e7c28c18cc7c9.tar.gz
mpd-65a8822a0b29c2f321922839bb3e7c28c18cc7c9.tar.xz
mpd-65a8822a0b29c2f321922839bb3e7c28c18cc7c9.zip
aac: get rid of gcc warnings
Diffstat (limited to 'src')
-rw-r--r--src/decoder/aac_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/aac_plugin.c b/src/decoder/aac_plugin.c
index d23d43b55..5938822db 100644
--- a/src/decoder/aac_plugin.c
+++ b/src/decoder/aac_plugin.c
@@ -256,7 +256,7 @@ static float getAacFloatTotalTime(const char *file)
/* neaacdec.h declares all arguments as "unsigned long", but
internally expects uint32_t pointers. To avoid gcc
warnings, use this workaround. */
- unsigned long *sample_rate_r = (unsigned long*)&sample_rate;
+ unsigned long *sample_rate_r = (unsigned long *)(void *)&sample_rate;
#else
uint32_t *sample_rate_r = &sample_rate;
#endif
@@ -320,7 +320,7 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
/* neaacdec.h declares all arguments as "unsigned long", but
internally expects uint32_t pointers. To avoid gcc
warnings, use this workaround. */
- unsigned long *sample_rate_r = (unsigned long*)&sample_rate;
+ unsigned long *sample_rate_r = (unsigned long *)(void *)&sample_rate;
#else
uint32_t *sample_rate_r = &sample_rate;
#endif