summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/mp3_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mp3_enc.c b/apps/codecs/mp3_enc.c
index 300787fcc2..64c0996dc2 100644
--- a/apps/codecs/mp3_enc.c
+++ b/apps/codecs/mp3_enc.c
@@ -2274,7 +2274,7 @@ static void encode_frame(char *buffer, struct enc_chunk_hdr *chunk)
2274 memcpy(chunk->enc_data, CodedData.bbuf, chunk->enc_size); 2274 memcpy(chunk->enc_data, CodedData.bbuf, chunk->enc_size);
2275#else 2275#else
2276 /* swap frame to big endian */ 2276 /* swap frame to big endian */
2277 byte_swap_frame32(chunk->enc_data, CodedData.bbuf, chunk->enc_size); 2277 byte_swap_frame32((uint32_t *)chunk->enc_data, CodedData.bbuf, chunk->enc_size);
2278#endif 2278#endif
2279} /* encode_frame */ 2279} /* encode_frame */
2280 2280