From dbf2f0c266b4e5e0ed39b7d2dd856960f62caae8 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 10 Sep 2017 00:15:15 -0500 Subject: AUDIO: Fix compilation on AmigaOS 4 --- audio/decoders/adpcm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/decoders/adpcm.cpp b/audio/decoders/adpcm.cpp index 7f578ddbae..e87661dbbb 100644 --- a/audio/decoders/adpcm.cpp +++ b/audio/decoders/adpcm.cpp @@ -352,9 +352,9 @@ do { \ int DK3_ADPCMStream::readBuffer(int16 *buffer, const int numSamples) { assert((numSamples % 4) == 0); - const uint startOffset = _stream->pos() % _blockAlign; - uint audioBytesLeft = _endpos - _stream->pos(); - uint blockBytesLeft; + const uint32 startOffset = _stream->pos() % _blockAlign; + uint32 audioBytesLeft = _endpos - _stream->pos(); + uint32 blockBytesLeft; if (startOffset != 0) { blockBytesLeft = _blockAlign - startOffset; } else { -- cgit v1.2.3