mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 20:15:42 +00:00
ZVISION: Fix unsigned/signed mismatch warning
This commit is contained in:
parent
99ecc80e86
commit
cf45312016
@ -70,7 +70,7 @@ template<class T>
|
|||||||
void removeDuplicateEntries(Common::Array<T> *container) {
|
void removeDuplicateEntries(Common::Array<T> *container) {
|
||||||
Common::sort(container->front(), container->back());
|
Common::sort(container->front(), container->back());
|
||||||
|
|
||||||
for (int i = 0; i < container->size(); i++) {
|
for (uint i = 0; i < container->size(); i++) {
|
||||||
while (container[i] == container[i +1]) {
|
while (container[i] == container[i +1]) {
|
||||||
container->remove_at(i + 1);
|
container->remove_at(i + 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user