From f4854e01d680464d5b8040ea2e88cb18641e6091 Mon Sep 17 00:00:00 2001 From: inv Date: Fri, 23 Aug 2013 08:49:16 +0000 Subject: [PATCH] Fix compilation problems on 32bit platforms (wrong CORBA mappings) --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 8 +++++--- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index 066021e..5e31e09 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -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); diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx index c34d82a..904f626 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx @@ -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, -- 2.39.2