aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-10-01 20:08:57 -0500
committerRichieSams2013-10-02 09:10:01 -0500
commit23a1a1a70fd0481f17e49631e0884d7027d21528 (patch)
tree21fdc0d1231656529e80f02f076d27b0843062e4
parentbad28dc15872e208bf21f1e6fa2ab906bca598c4 (diff)
downloadscummvm-rg350-23a1a1a70fd0481f17e49631e0884d7027d21528.tar.gz
scummvm-rg350-23a1a1a70fd0481f17e49631e0884d7027d21528.tar.bz2
scummvm-rg350-23a1a1a70fd0481f17e49631e0884d7027d21528.zip
ZVISION: Fix signed/unsigned mismatch
-rw-r--r--engines/zvision/utility.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/utility.h b/engines/zvision/utility.h
index 4aceec6e4f..fb571f3fe8 100644
--- a/engines/zvision/utility.h
+++ b/engines/zvision/utility.h
@@ -69,10 +69,10 @@ void dumpEveryResultAction(const Common::String &destFile);
template<class T>
void removeDuplicateEntries(Common::Array<T> &container) {
// Length of modified array
- int newLength = 1;
- int j;
+ uint newLength = 1;
+ uint j;
- for(int i = 1; i < container.size(); i++) {
+ for(uint i = 1; i < container.size(); i++) {
for(j = 0; j < newLength; j++) {
if (container[i] == container[j]) {
break;