From 23a1a1a70fd0481f17e49631e0884d7027d21528 Mon Sep 17 00:00:00 2001 From: RichieSams Date: Tue, 1 Oct 2013 20:08:57 -0500 Subject: [PATCH] ZVISION: Fix signed/unsigned mismatch --- engines/zvision/utility.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/zvision/utility.h b/engines/zvision/utility.h index 4aceec6e4f5..fb571f3fe81 100644 --- a/engines/zvision/utility.h +++ b/engines/zvision/utility.h @@ -69,10 +69,10 @@ void dumpEveryResultAction(const Common::String &destFile); template void removeDuplicateEntries(Common::Array &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;