Salome HOME
#18963 Minimize compiler warnings
[modules/gui.git] / src / GLViewer / GLViewer_Text.cxx
index e589e5a378b9fe56d58bd4c4fef5273d0761e894..ff94e238c32224e9f18886a249d48c25e79aa82d 100644 (file)
@@ -70,7 +70,7 @@ int GLViewer_Text::getWidth()
 {
     int aResult = 0;
     QFontMetrics aFM( myQFont );
-    for( uint i = 0; i < myText.length(); i++ )
+    for( int i = 0; i < myText.length(); i++ )
         aResult += aFM.width( myText.at(i) ) + mySeparator;
     return aResult;
 }