[Scummvm-cvs-logs] SF.net SVN: scummvm: [29581] scummvm/trunk/engines/agi/preagi_mickey.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue Nov 20 20:15:12 CET 2007
Revision: 29581
http://scummvm.svn.sourceforge.net/scummvm/?rev=29581&view=rev
Author: drmccoy
Date: 2007-11-20 11:15:11 -0800 (Tue, 20 Nov 2007)
Log Message:
-----------
Muting the compiler :P
Modified Paths:
--------------
scummvm/trunk/engines/agi/preagi_mickey.cpp
Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-11-20 18:46:01 UTC (rev 29580)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-11-20 19:15:11 UTC (rev 29581)
@@ -582,9 +582,9 @@
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));
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list