summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl/sound.c')
-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) {