diff options
author | Colin Snover | 2017-09-10 00:15:15 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-10 02:08:21 -0500 |
commit | dbf2f0c266b4e5e0ed39b7d2dd856960f62caae8 (patch) | |
tree | 8ce519dcf1f9ab6c1e893d54b3d61dac1451388b /audio/decoders | |
parent | 6df5e4c372af7327821ad49874b3f296fdd91d05 (diff) | |
download | scummvm-rg350-dbf2f0c266b4e5e0ed39b7d2dd856960f62caae8.tar.gz scummvm-rg350-dbf2f0c266b4e5e0ed39b7d2dd856960f62caae8.tar.bz2 scummvm-rg350-dbf2f0c266b4e5e0ed39b7d2dd856960f62caae8.zip |
AUDIO: Fix compilation on AmigaOS 4
Diffstat (limited to 'audio/decoders')
-rw-r--r-- | audio/decoders/adpcm.cpp | 6 |
1 files 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 { |