Browse Source

Sample.inl: fix warning

1vanK 3 years ago
parent
commit
70a0c6d9bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Samples/Sample.inl

+ 1 - 1
Source/Samples/Sample.inl

@@ -337,7 +337,7 @@ void Sample::HandleSceneUpdate(StringHash /*eventType*/, VariantMap& eventData)
     if (touchEnabled_ && cameraNode_)
     if (touchEnabled_ && cameraNode_)
     {
     {
         Input* input = GetSubsystem<Input>();
         Input* input = GetSubsystem<Input>();
-        for (unsigned i = 0; i < input->GetNumTouches(); ++i)
+        for (i32 i = 0; i < input->GetNumTouches(); ++i)
         {
         {
             TouchState* state = input->GetTouch(i);
             TouchState* state = input->GetTouch(i);
             if (!state->touchedElement_)    // Touch on empty space
             if (!state->touchedElement_)    // Touch on empty space