diff options
author | Max Horn | 2010-01-19 23:52:49 +0000 |
---|---|---|
committer | Max Horn | 2010-01-19 23:52:49 +0000 |
commit | 24ae816395059b5949d4123798bbe9cef6a82ed3 (patch) | |
tree | 2398f6e2c4966141fe5b594fe670f980e2b27e49 /engines/parallaction | |
parent | 7ea3f6e3ed3975c76554beaaac8607f4bc76f35b (diff) | |
download | scummvm-rg350-24ae816395059b5949d4123798bbe9cef6a82ed3.tar.gz scummvm-rg350-24ae816395059b5949d4123798bbe9cef6a82ed3.tar.bz2 scummvm-rg350-24ae816395059b5949d4123798bbe9cef6a82ed3.zip |
cleanup
svn-id: r47399
Diffstat (limited to 'engines/parallaction')
-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; } |