diff options
-rw-r--r-- | engines/gob/coktelvideo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/coktelvideo.cpp b/engines/gob/coktelvideo.cpp index cd497293af..964abc8369 100644 --- a/engines/gob/coktelvideo.cpp +++ b/engines/gob/coktelvideo.cpp @@ -1279,7 +1279,7 @@ void Vmd::deDPCM(byte *soundBuf, byte *dataBuf, int16 &init, uint32 n) { else s += _tableDPCM[dataBuf[i]]; - s = CLIP(s, -32768, 32767); + s = CLIP<int32>(s, -32768, 32767); *out++ = TO_BE_16(s); } } |