diff options
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp index 9f36d6d9b7..40aa4fa81a 100644 --- a/engines/sherlock/sound.cpp +++ b/engines/sherlock/sound.cpp @@ -86,7 +86,7 @@ byte Sound::decodeSample(byte sample, byte& reference, int16& scale) { int16 ref = 0; // clip bad ADPCM-4 sample - CLIP(samp, 0, 63); + CLIP<int16>(samp, 0, 63); ref = reference + creativeADPCM_ScaleMap[samp]; if (ref > 0xff) { |