diff options
-rw-r--r-- | engines/parallaction/sound_br.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/sound_br.cpp b/engines/parallaction/sound_br.cpp index b4d5fa37ec..f18e151760 100644 --- a/engines/parallaction/sound_br.cpp +++ b/engines/parallaction/sound_br.cpp @@ -406,7 +406,7 @@ Audio::AudioStream *DosSoundMan_br::loadChannelData(const char *filename, Channe Common::SeekableReadStream *stream = _vm->_disk->loadSound(filename); uint32 dataSize = stream->size(); - int8 *data = (int8*)malloc(dataSize); + byte *data = (byte *)malloc(dataSize); if (stream->read(data, dataSize) != dataSize) error("DosSoundMan_br::loadChannelData: Read failed"); @@ -423,7 +423,7 @@ Audio::AudioStream *DosSoundMan_br::loadChannelData(const char *filename, Channe flags |= Audio::FLAG_LOOP; } - ch->stream = Audio::makeRawMemoryStream((byte *)data, dataSize, DisposeAfterUse::YES, rate, flags, loopStart, loopEnd); + ch->stream = Audio::makeRawMemoryStream(data, dataSize, DisposeAfterUse::YES, rate, flags, loopStart, loopEnd); return ch->stream; } |