diff options
author | Arnaud Boutonné | 2011-01-06 14:30:34 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-06 14:30:34 +0000 |
commit | fc130351f3cd5ca53607d109e31948dddc6db4a3 (patch) | |
tree | 34e2b09baa52c0c350549c0e20f2c9f4648a4c0c /engines/hugo | |
parent | 910d2d577a5539f732fc5b119b7da1573efefb5a (diff) | |
download | scummvm-rg350-fc130351f3cd5ca53607d109e31948dddc6db4a3.tar.gz scummvm-rg350-fc130351f3cd5ca53607d109e31948dddc6db4a3.tar.bz2 scummvm-rg350-fc130351f3cd5ca53607d109e31948dddc6db4a3.zip |
HUGO: Fix GCC warnings, second try (sorry)
svn-id: r55134
Diffstat (limited to 'engines/hugo')
-rw-r--r-- | engines/hugo/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp index 039d380f76..d79146401e 100644 --- a/engines/hugo/sound.cpp +++ b/engines/hugo/sound.cpp @@ -376,9 +376,9 @@ void SoundHandler::checkMusic() { * Timer: >0 - song still going, 0 - Stop note, -1 - Set next note */ void SoundHandler::pcspkr_player() { - static byte pcspkrTimer = 0; // Timer (ticks) for note being played - static byte pcspkrOctave = 3; // Current octave 1..7 - static byte pcspkrNoteDuration = 2; // Current length of note (ticks) + static int8 pcspkrTimer = 0; // Timer (ticks) for note being played + static int8 pcspkrOctave = 3; // Current octave 1..7 + static int8 pcspkrNoteDuration = 2; // Current length of note (ticks) static uint16 pcspkrNotes[8] = {1352, 1205, 2274, 2026, 1805, 1704, 1518}; // The 3rd octave note counts A..G static uint16 pcspkrSharps[8] = {1279, 1171, 2150, 1916, 1755, 1611, 1435}; // The sharps, A# to B# static uint16 pcspkrFlats[8] = {1435, 1279, 2342, 2150, 1916, 1755, 1611}; // The flats, Ab to Bb |