Browse Source

RaycastVehicleDemo.cpp: fix warning

1vanK 3 years ago
parent
commit
a890068b60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Samples/46_RaycastVehicle/RaycastVehicleDemo.cpp

+ 1 - 1
Source/Samples/46_RaycastVehicle/RaycastVehicleDemo.cpp

@@ -187,7 +187,7 @@ void RaycastVehicleDemo::HandleUpdate(StringHash eventType,
             // Add yaw & pitch from the mouse motion or touch input. Used only for the camera, does not affect motion
             if (touchEnabled_)
             {
-                for (unsigned i = 0; i < input->GetNumTouches(); ++i)
+                for (i32 i = 0; i < input->GetNumTouches(); ++i)
                 {
                     TouchState* state = input->GetTouch(i);
                     if (!state->touchedElement_) // Touch on empty space