mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
MADS: Fix a couple of warnings
This commit is contained in:
parent
5bb66bdd5b
commit
464627f043
@ -92,7 +92,7 @@ void AudioPlayer::playSound(int soundIndex, bool loop) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (soundIndex < 0 || soundIndex > _dsrEntries.size() - 1) {
|
||||
if (soundIndex < 0 || soundIndex > (int)_dsrEntries.size() - 1) {
|
||||
warning("Invalid sound index: %i (max %i), not playing sound", soundIndex, _dsrEntries.size() - 1);
|
||||
return;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ bool VisitedScenes::exists(int sceneId) {
|
||||
}
|
||||
|
||||
void VisitedScenes::synchronize(Common::Serializer &s) {
|
||||
int count = size();
|
||||
uint count = size();
|
||||
int v = 0;
|
||||
s.syncAsUint16LE(count);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user