aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/coktelvideo.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-08-02 08:07:39 +0000
committerSven Hesse2007-08-02 08:07:39 +0000
commit482d626663cc1c83edbe6c043398a2e8c4ce3703 (patch)
treecb2b4003862565f43995261036a7ec906a72d171 /engines/gob/coktelvideo.cpp
parent46d6ffcdf67da9925b22364a4593b396e120cd4c (diff)
downloadscummvm-rg350-482d626663cc1c83edbe6c043398a2e8c4ce3703.tar.gz
scummvm-rg350-482d626663cc1c83edbe6c043398a2e8c4ce3703.tar.bz2
scummvm-rg350-482d626663cc1c83edbe6c043398a2e8c4ce3703.zip
Fixing compilation for Raziel_AOne ;)
svn-id: r28402
Diffstat (limited to 'engines/gob/coktelvideo.cpp')
-rw-r--r--engines/gob/coktelvideo.cpp2
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);
}
}