aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/scrolls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/scrolls.cpp b/engines/avalanche/scrolls.cpp
index 0b1b4a4870..e5d08ecfc6 100644
--- a/engines/avalanche/scrolls.cpp
+++ b/engines/avalanche/scrolls.cpp
@@ -193,7 +193,7 @@ void Scrolls::store(byte what, TuneType &played) {
bool Scrolls::theyMatch(TuneType &played) {
byte mistakes = 0;
- for (byte i = 0; i < sizeof(played); i++) {
+ for (unsigned int i = 0; i < sizeof(played); i++) {
if (played[i] != _vm->_gyro->kTune[i])
mistakes += 1;
}
@@ -208,7 +208,7 @@ void Scrolls::scrollModeMusic() {
_vm->_gyro->newMouse(3);
TuneType played;
- for (byte i = 0; i < sizeof(played); i++)
+ for (unsigned int i = 0; i < sizeof(played); i++)
played[i] = Gyro::kPitchInvalid;
int8 lastOne = -1, thisOne = -1; // Invalid values.