Browse Source

ProcessUtils.cpp: fix warning

1vanK 3 years ago
parent
commit
c137e798cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Urho3D/Core/ProcessUtils.cpp

+ 2 - 2
Source/Urho3D/Core/ProcessUtils.cpp

@@ -240,11 +240,11 @@ const Vector<String>& ParseArguments(const String& cmdLine, bool skipFirstArgume
 {
     arguments.Clear();
 
-    unsigned cmdStart = 0, cmdEnd = 0;
+    i32 cmdStart = 0, cmdEnd = 0;
     bool inCmd = false;
     bool inQuote = false;
 
-    for (unsigned i = 0; i < cmdLine.Length(); ++i)
+    for (i32 i = 0; i < cmdLine.Length(); ++i)
     {
         if (cmdLine[i] == '\"')
             inQuote = !inQuote;