Salome HOME
Fix compilation problems on 32bit platforms (wrong CORBA mappings) BR_new_bop4
authorinv <inv@opencascade.com>
Fri, 23 Aug 2013 08:49:16 +0000 (08:49 +0000)
committerinv <inv@opencascade.com>
Fri, 23 Aug 2013 08:49:16 +0000 (08:49 +0000)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx

index 066021e406534cee3d147a8b36497e257751acea..5e31e096522a4c8ec1a064fb3cc137fdf29e5be7 100644 (file)
@@ -2905,7 +2905,8 @@ void BLSURFPlugin_Hypothesis_i::AddFacePeriodicityEntry(const char* theFace1Entr
 
 
 void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicity(GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theEdge1,
-    GEOM::GEOM_Object_ptr theFace2, GEOM::GEOM_Object_ptr theEdge2, int edge_orientation)
+                                                  GEOM::GEOM_Object_ptr theFace2, GEOM::GEOM_Object_ptr theEdge2,
+                                                  CORBA::Long edge_orientation)
     throw (SALOME::SALOME_Exception){
   ASSERT(myBaseImpl);
 
@@ -2938,7 +2939,8 @@ void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicity(GEOM::GEOM_Object_ptr theFace
 }
 
 void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicityWithoutFaces(GEOM::GEOM_Object_ptr theEdge1,
-    GEOM::GEOM_Object_ptr theEdge2, int edge_orientation)
+                                                              GEOM::GEOM_Object_ptr theEdge2,
+                                                              CORBA::Long edge_orientation)
     throw (SALOME::SALOME_Exception){
   ASSERT(myBaseImpl);
 
@@ -2964,7 +2966,7 @@ void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicityWithoutFaces(GEOM::GEOM_Object
 
 }
 
-void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicityEntry(const char* theFace1Entry, const char* theEdge1Entry, const char* theFace2Entry, const char* theEdge2Entry, const int edge_orientation)
+void BLSURFPlugin_Hypothesis_i::AddEdgePeriodicityEntry(const char* theFace1Entry, const char* theEdge1Entry, const char* theFace2Entry, const char* theEdge2Entry, const long edge_orientation)
     throw (SALOME::SALOME_Exception){
 
   ASSERT(myBaseImpl);
index c34d82a8894d689957cfaafb83a7d765abc3151e..904f6261966fa5b6976533fe0af92afbd40cab33 100644 (file)
@@ -287,13 +287,13 @@ public:
     throw (SALOME::SALOME_Exception);
 
   void AddEdgePeriodicity(GEOM::GEOM_Object_ptr theFace1, GEOM::GEOM_Object_ptr theEdge1,
-      GEOM::GEOM_Object_ptr theFace2, GEOM::GEOM_Object_ptr theEdge2, int edge_orientation = 0)
+                         GEOM::GEOM_Object_ptr theFace2, GEOM::GEOM_Object_ptr theEdge2, CORBA::Long edge_orientation = 0)
       throw (SALOME::SALOME_Exception);
 
-  void AddEdgePeriodicityWithoutFaces(GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2, int edge_orientation = 0)
+  void AddEdgePeriodicityWithoutFaces(GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theEdge2, CORBA::Long edge_orientation = 0)
       throw (SALOME::SALOME_Exception);
 
-  void AddEdgePeriodicityEntry(const char* theFace1Entry, const char* theEdge1Entry, const char* theFace2Entry, const char* theEdge2Entry, int edge_orientation = 0)
+  void AddEdgePeriodicityEntry(const char* theFace1Entry, const char* theEdge1Entry, const char* theFace2Entry, const char* theEdge2Entry, const long edge_orientation = 0)
     throw (SALOME::SALOME_Exception);
 
   void AddVertexPeriodicity(GEOM::GEOM_Object_ptr theEdge1, GEOM::GEOM_Object_ptr theVertex1,