diff options
author | Torbjörn Andersson | 2015-03-10 06:39:09 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2015-03-10 06:39:09 +0100 |
commit | b03d46ceeb2c8969fa496298a6bfc8c49b6994f7 (patch) | |
tree | 31cf678c40ba0f6f2eefa9f1376b3768990951e8 | |
parent | d23e493b467a24e5d61dcb936b1c2e042c3ae9ce (diff) | |
download | scummvm-rg350-b03d46ceeb2c8969fa496298a6bfc8c49b6994f7.tar.gz scummvm-rg350-b03d46ceeb2c8969fa496298a6bfc8c49b6994f7.tar.bz2 scummvm-rg350-b03d46ceeb2c8969fa496298a6bfc8c49b6994f7.zip |
MADS: Silence GCC signed/unsigned warnings
-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; } |