Fix yellow builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8796 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f166accb62
commit
6876336fee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue