summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-23 00:21:44 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-23 00:21:44 +0000
commit6876336fee5c03514b9d67c43c424c9aaa1414eb (patch)
treed97492369668655b1f746c2aaa8e34640ef455aa /uisimulator
parentf166accb6246ff329a085d103f20c91d0dc5e4be (diff)
downloadrockbox-6876336fee5c03514b9d67c43c424c9aaa1414eb.tar.gz
rockbox-6876336fee5c03514b9d67c43c424c9aaa1414eb.tar.bz2
rockbox-6876336fee5c03514b9d67c43c424c9aaa1414eb.zip
Fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8796 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index 4ab2fef697..23d8718411 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -155,7 +155,7 @@ void sdl_audio_callback(void *udata, Uint8 *stream, int len)
if (pcm_data_size > 0) {
/* We have some PCM data to play. Play as much as we can. */
- pcm_data_played = (((Uint32)len) > pcm_data_size) ? pcm_data_size : len;
+ pcm_data_played = (((Uint32)len) > pcm_data_size) ? pcm_data_size : (Uint32)len;
memcpy(stream, pcm_data, pcm_data_played);