From cfa629970484d32a86ae0207b8b98ba0935f479e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 6 Apr 2020 13:25:28 -0400 Subject: [PATCH] CShockWave: Resolve sign conversion warning int was being used when size_t should have been. --- Runtime/MP1/World/CShockWave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_);