summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-01-07 14:00:37 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-01-07 14:00:37 +0000
commit67a85912c8b799e5ab0bb089f5839a390e3a11de (patch)
tree4ea121312308fbfc7980afd0a06edf5a22b62f8e /firmware
parentc7b8d071814e3f05b9f239245e3b5d7fa9ff74dd (diff)
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s5l8702/pcm-s5l8702.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8702/pcm-s5l8702.c b/firmware/target/arm/s5l8702/pcm-s5l8702.c
index b0a3a02571..9fc241b9a1 100644
--- a/firmware/target/arm/s5l8702/pcm-s5l8702.c
+++ b/firmware/target/arm/s5l8702/pcm-s5l8702.c
@@ -156,7 +156,7 @@ void pcm_dma_apply_settings(void)
size_t pcm_get_bytes_waiting(void)
{
int bytes = remaining;
- const struct dma_lli* lli = &DMAC0C0LLI;
+ const struct dma_lli* lli = (const struct dma_lli*)((int)&DMAC0C0LLI);
while (lli)
{
bytes += (lli->control & 0xfff) * 2;