summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-03-22 16:04:01 +0000
committerThom Johansen <thomj@rockbox.org>2006-03-22 16:04:01 +0000
commit738a584a5c93884a6aabd7de7bf42ad59c8c3d53 (patch)
treea537860b1ba1e51ce846ec3ea77ecca67491a52c /uisimulator
parenta7b5a2ce736eb7eb6b2da53a24bcaeb356d39c78 (diff)
downloadrockbox-738a584a5c93884a6aabd7de7bf42ad59c8c3d53.tar.gz
rockbox-738a584a5c93884a6aabd7de7bf42ad59c8c3d53.tar.bz2
rockbox-738a584a5c93884a6aabd7de7bf42ad59c8c3d53.zip
Use correct types, which kills some AMD64 sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9191 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index 6d181d2f57..469bc78f35 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -33,7 +33,7 @@ static bool pcm_playing;
static bool pcm_paused;
static Uint8* pcm_data;
-static Uint32 pcm_data_size;
+static size_t pcm_data_size;
extern bool debug_audio;
@@ -97,7 +97,7 @@ void pcm_play_stop(void)
void pcm_play_pause(bool play)
{
- Uint32 next_size;
+ size_t next_size;
Uint8 *next_start;
if (!pcm_playing) {