aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/resource_intern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource_intern.cpp b/engines/kyra/resource_intern.cpp
index 3630baf583..6ecdf68d35 100644
--- a/engines/kyra/resource_intern.cpp
+++ b/engines/kyra/resource_intern.cpp
@@ -1247,7 +1247,7 @@ uint8 *CmpVocDecoder::process(uint8 *src, uint32 insize, uint32 *outsize, bool d
decodeHelper(i);
for (int i = 1; i <= 8192; i++) {
- int32 v = CLIP(_floatArray[i] + 128, 0, 255);
+ int32 v = CLIP<int32>(_floatArray[i] + 128, 0, 255);
_sndArray[i - 1] = v;
}