aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/shorten.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/shorten.cpp b/engines/saga/shorten.cpp
index edb12a3dd9..1e1c397212 100644
--- a/engines/saga/shorten.cpp
+++ b/engines/saga/shorten.cpp
@@ -438,7 +438,7 @@ byte *loadShortenFromStream(Common::ReadStream &stream, int &size, int &rate, by
for (i = 0; i < 64; ++i)
oldValues[curChannel][i] = 0;
- int arrayTerminator = MIN<int>(64, blockSize);
+ uint arrayTerminator = MIN<int>(64, blockSize);
for (i = 0; i < arrayTerminator; ++i)
oldValues[curChannel][i] = buffer[curChannel][blockSize - (i + 1)];