Correct warning on vc 14 (caused by #26007)
authorapn <apn@opencascade.com>
Thu, 26 Jan 2017 17:05:11 +0000 (20:05 +0300)
committerapn <apn@opencascade.com>
Thu, 26 Jan 2017 17:05:11 +0000 (20:05 +0300)
src/BinMDataXtd/BinMDataXtd_TriangulationDriver.cxx

index 6aa7aaf..fa7e565 100644 (file)
@@ -147,7 +147,7 @@ void BinMDataXtd_TriangulationDriver::Paste(const Handle(TDF_Attribute)& theSour
 
     // Write triangles
     const Poly_Array1OfTriangle& Triangles = PT->Triangles();
-    for (int i = 1; i <= nbTriangles; i++)
+    for (i = 1; i <= nbTriangles; i++)
     {
       Triangles(i).Get(n1, n2, n3);
       theTarget << n1;