]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_I/GEOM_IInsertOperations_i.cc
Salome HOME
Fix compilation error and some warnings
[modules/geom.git] / src / GEOM_I / GEOM_IInsertOperations_i.cc
index 87a697c9b4a01987241a7a1c8795b390b175932d..b521f2f1d70c7d9ab724be09a5e3fcda73a5391b 100644 (file)
@@ -210,7 +210,7 @@ CORBA::Long GEOM_IInsertOperations_i::AddTexture(CORBA::Long theWidth, CORBA::Lo
   if ( theTexture.length() > 0 ) {
     aTexture = new TColStd_HArray1OfByte (1, theTexture.length());
 
-    for ( int i = 0; i < theTexture.length(); i++ )
+    for ( CORBA::ULong i = 0; i < theTexture.length(); i++ )
       aTexture->SetValue( i+1, (Standard_Byte)theTexture[i] );
   }
   return GetOperations()->AddTexture( theWidth, theHeight, aTexture );