diff --git a/engines/lastexpress/entities/entity.h b/engines/lastexpress/entities/entity.h index 246b2096d9d..3e12df86121 100644 --- a/engines/lastexpress/entities/entity.h +++ b/engines/lastexpress/entities/entity.h @@ -318,8 +318,8 @@ public: return Common::String::printf("SSS: %s %s %s\n", seq1, seq2, seq3); } - void update(uint32 index) { - error("EntityParametersSSS::update: cannot update this type of parameters", index); + void update(uint32) { + error("EntityParametersSSS::update: cannot update this type of parameters"); } void saveLoadWithSerializer(Common::Serializer &s) { diff --git a/engines/lastexpress/game/entities.cpp b/engines/lastexpress/game/entities.cpp index 57f9f0e050f..feb90571618 100644 --- a/engines/lastexpress/game/entities.cpp +++ b/engines/lastexpress/game/entities.cpp @@ -251,15 +251,15 @@ void Entities::saveLoadWithSerializer(Common::Serializer &s) { } void Entities::savePositions(Common::Serializer &s) { - for (uint i = 0; i < _positionsCount; i++) + for (uint i = 0; i < (uint)_positionsCount; i++) s.syncAsUint32LE(_positions[i]); } void Entities::saveCompartments(Common::Serializer &s) { - for (uint i = 0; i < _compartmentsCount; i++) + for (uint i = 0; i < (uint)_compartmentsCount; i++) s.syncAsUint32LE(_compartments[i]); - for (uint i = 0; i < _compartmentsCount; i++) + for (uint i = 0; i < (uint)_compartmentsCount; i++) s.syncAsUint32LE(_compartments1[i]); }