aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2003-07-12 17:43:39 +0000
committerChris Apers2003-07-12 17:43:39 +0000
commit8b27f60434cbf47a0362d6560d3cda745e076a6d (patch)
tree6dfd998f0da9102912162198e73d112692ffa69c
parent9e8dcf879df06a0f6dd02d357839a36555bd191f (diff)
downloadscummvm-rg350-8b27f60434cbf47a0362d6560d3cda745e076a6d.tar.gz
scummvm-rg350-8b27f60434cbf47a0362d6560d3cda745e076a6d.tar.bz2
scummvm-rg350-8b27f60434cbf47a0362d6560d3cda745e076a6d.zip
Fixed RTTI warnings with PalmOS port
svn-id: r8951
-rw-r--r--sound/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index fa0f05a54f..c0b81afdae 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -192,7 +192,7 @@ void SoundMixer::appendStream(int index, void *sound, uint32 size) {
StackLock lock(_mutex);
ChannelStream *chan;
-#ifndef _WIN32_WCE
+#if !defined(_WIN32_WCE) && !defined(__PALM_OS__)
chan = dynamic_cast<ChannelStream *>(_channels[index]);
#else
chan = (ChannelStream*)_channels[index];
@@ -208,7 +208,7 @@ void SoundMixer::endStream(int index) {
StackLock lock(_mutex);
ChannelStream *chan;
-#ifndef _WIN32_WCE
+#if !defined(_WIN32_WCE) && !defined(__PALM_OS__)
chan = dynamic_cast<ChannelStream *>(_channels[index]);
#else
chan = (ChannelStream*)_channels[index];