diff options
author | Jordi Vilalta Prat | 2009-12-30 15:41:11 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-12-30 15:41:11 +0000 |
commit | 7475bbbc3ffca0dcbc305167b9d468c39e1491f0 (patch) | |
tree | e3a4b9129eef37fd9461c7384295c4faa722664f /sound/adpcm.cpp | |
parent | a314df52dfe2eac32edb0bbcc03ae8df7e197444 (diff) | |
download | scummvm-rg350-7475bbbc3ffca0dcbc305167b9d468c39e1491f0.tar.gz scummvm-rg350-7475bbbc3ffca0dcbc305167b9d468c39e1491f0.tar.bz2 scummvm-rg350-7475bbbc3ffca0dcbc305167b9d468c39e1491f0.zip |
Fix bug #2923380 (AMIGAOS4: Compiler error)
svn-id: r46753
Diffstat (limited to 'sound/adpcm.cpp')
-rw-r--r-- | sound/adpcm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/adpcm.cpp b/sound/adpcm.cpp index 6b50c22f04..68ce9fafb0 100644 --- a/sound/adpcm.cpp +++ b/sound/adpcm.cpp @@ -263,7 +263,7 @@ int ADPCMInputStream::readBufferApple(int16 *buffer, const int numSamples) { _status.ima_ch[i].stepIndex = temp & 0x007F; // Clip the step index - _status.ima_ch[i].stepIndex = CLIP(_status.ima_ch[i].stepIndex, 0, 88); + _status.ima_ch[i].stepIndex = CLIP<int32>(_status.ima_ch[i].stepIndex, 0, 88); _blockPos[i] = 2; } |