Salome HOME
Fix compilation warnings
[modules/shaper.git] / src / ModelAPI / ModelAPI_Tools.cpp
index a3a0df3b5523f7afa273000147484b10e27944a0..f78af49b85c0662f91547e2c0f48426ea0ec6c29 100644 (file)
@@ -1174,7 +1174,7 @@ std::array<std::vector<int>, 10> myColorTab = {
 
 void findRandomColor(std::vector<int>& theValues, bool theReset)
 {
-  static int i = 0;
+  static size_t i = 0;
   static std::vector<std::vector<int>> usedGeneratedColor;
 
   // True when disabling auto-color