SHERLOCK: Fix compilation for gcc

This commit is contained in:
Strangerke 2015-05-17 15:04:22 +02:00
parent 239562fc01
commit 4af7b58e94

View File

@ -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) {