diff --git a/Runtime/MP1/World/CShockWave.cpp b/Runtime/MP1/World/CShockWave.cpp index a61cbd53a..aa94fa878 100644 --- a/Runtime/MP1/World/CShockWave.cpp +++ b/Runtime/MP1/World/CShockWave.cpp @@ -77,7 +77,7 @@ void CShockWave::Think(float dt, CStateManager& mgr) { x150_ += x154_ * dt; x154_ += dt * x114_data.GetX30(); x110_elementGen->SetExternalVar(0, x150_); - for (int i = 0; i < x110_elementGen->GetNumActiveChildParticles(); ++i) { + for (size_t i = 0; i < x110_elementGen->GetNumActiveChildParticles(); ++i) { auto& particle = static_cast(x110_elementGen->GetActiveChildParticle(i)); if (particle.Get4CharId() == SBIG('PART')) { particle.SetExternalVar(0, x150_);