diff options
Diffstat (limited to 'engines/gob/music.cpp')
-rw-r--r-- | engines/gob/music.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/music.cpp b/engines/gob/music.cpp index c56cac3764..b074a15602 100644 --- a/engines/gob/music.cpp +++ b/engines/gob/music.cpp @@ -307,7 +307,7 @@ void Adlib::setKey(byte voice, byte note, bool on, bool spec) { _notes[voice] = note; note += _notCol[voice]; - note = MIN(0x5F, (int)note); + note = MIN((byte) 0x5F, note); octa = note / 12; freq = _freqs[_notLin[voice]][note - octa * 12]; |