aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorSven Hesse2007-11-20 19:15:11 +0000
committerSven Hesse2007-11-20 19:15:11 +0000
commit045d5f5c08c73be63f6569e8a892d74c8ca4f02a (patch)
tree67d15054e9938ec51724d0d37484b968035fc866 /engines/agi
parentf7fd695e794ad810fbc83affb26e4434f8f6b206 (diff)
downloadscummvm-rg350-045d5f5c08c73be63f6569e8a892d74c8ca4f02a.tar.gz
scummvm-rg350-045d5f5c08c73be63f6569e8a892d74c8ca4f02a.tar.bz2
scummvm-rg350-045d5f5c08c73be63f6569e8a892d74c8ca4f02a.zip
Muting the compiler :P
svn-id: r29581
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_mickey.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index a3bfa976b3..0a11016cc9 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -582,9 +582,9 @@ void Mickey::printDatMessage(int iStr) {
void Mickey::playNote(MSA_SND_NOTE note) {
if (!note.counter) {
// Pause
- _vm->_system->delayMillis(note.length / IDI_SND_TIMER_RESOLUTION);
+ _vm->_system->delayMillis((uint) (note.length / IDI_SND_TIMER_RESOLUTION));
} else {
- _vm->playNote(IDI_SND_OSCILLATOR_FREQUENCY / note.counter, note.length / IDI_SND_TIMER_RESOLUTION);
+ _vm->playNote(IDI_SND_OSCILLATOR_FREQUENCY / note.counter, (int32) (note.length / IDI_SND_TIMER_RESOLUTION));
}
}