diff options
-rw-r--r-- | engines/mads/sequence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/sequence.cpp b/engines/mads/sequence.cpp index 744e246321..ba0111a844 100644 --- a/engines/mads/sequence.cpp +++ b/engines/mads/sequence.cpp @@ -182,9 +182,9 @@ void SequenceList::remove(int seqIndex) { } int SequenceList::findByTrigger(int trigger) { - for (int idx = 0; idx < _entries.size(); ++idx) { + for (uint idx = 0; idx < _entries.size(); ++idx) { if (_entries[idx]._active) { - for (uint subIdx = 0; subIdx < _entries[idx]._entries._count; ++subIdx) { + for (int subIdx = 0; subIdx < _entries[idx]._entries._count; ++subIdx) { if (_entries[idx]._entries._trigger[subIdx] == trigger) return idx; } |