diff options
author | Matthew Hoops | 2013-10-18 06:13:32 -0400 |
---|---|---|
committer | Matthew Hoops | 2013-10-18 06:13:32 -0400 |
commit | aba818d19578836aab41e0bc484dfbdfc5da3231 (patch) | |
tree | 70826e801153cdfda21c5fe9b9fe2a95a6efe47a /engines/zvision/zork_raw.cpp | |
parent | 821a7430dac9087399095e89f1e828c29b52d90a (diff) | |
download | scummvm-rg350-aba818d19578836aab41e0bc484dfbdfc5da3231.tar.gz scummvm-rg350-aba818d19578836aab41e0bc484dfbdfc5da3231.tar.bz2 scummvm-rg350-aba818d19578836aab41e0bc484dfbdfc5da3231.zip |
ZVISION: Attempt to fix compilation on AmigaOS4
Diffstat (limited to 'engines/zvision/zork_raw.cpp')
-rw-r--r-- | engines/zvision/zork_raw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/zork_raw.cpp b/engines/zvision/zork_raw.cpp index 55493da9b3..21613d9043 100644 --- a/engines/zvision/zork_raw.cpp +++ b/engines/zvision/zork_raw.cpp @@ -127,7 +127,7 @@ int RawZorkStream::readBuffer(int16 *buffer, const int numSamples) { sample = -sample; sample += _lastSample[channel].sample; - sample = CLIP(sample, -32768, 32767); + sample = CLIP<int32>(sample, -32768, 32767); buffer[bytesRead - 1] = (int16)sample; |