VIDEO: Fix signed/unsigned mismatch potentially breaking DXA seek.

This commit is contained in:
elasota 2023-04-10 11:07:20 -04:00 committed by Eugene Sandulenko
parent 36be0befad
commit f7457c7c86

View File

@ -69,7 +69,7 @@ void DXADecoder::readSoundData(Common::SeekableReadStream *stream) {
addStreamTrack(Audio::makeWAVStream(stream->readStream(size), DisposeAfterUse::YES)); addStreamTrack(Audio::makeWAVStream(stream->readStream(size), DisposeAfterUse::YES));
} else if (tag != MKTAG('N','U','L','L')) { } else if (tag != MKTAG('N','U','L','L')) {
stream->skip(-4); stream->seek(-4, SEEK_CUR);
} }
} }