aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2014-09-28 15:20:25 -0400
committerMatthew Hoops2014-09-28 15:29:49 -0400
commit8e0e03c8ba15894fb048bdd66352fd8cf0a3746e (patch)
tree0817b6f97d93a6a9b992e97f9e467eca0bac54c5
parentcbfa8bfccdf66229608387528360107ee34ab860 (diff)
downloadscummvm-rg350-8e0e03c8ba15894fb048bdd66352fd8cf0a3746e.tar.gz
scummvm-rg350-8e0e03c8ba15894fb048bdd66352fd8cf0a3746e.tar.bz2
scummvm-rg350-8e0e03c8ba15894fb048bdd66352fd8cf0a3746e.zip
SAGA: Silence a gcc warning
-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)];