mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-04 01:20:33 +05:00
Fix compilation error on 32bit platforms
This commit is contained in:
parent
54779d6c21
commit
6d55c284bf
@ -2229,7 +2229,7 @@ void GEOM_Displayer::readFieldStepInfo( GEOM::GEOM_FieldStep_var theGeomFieldSte
|
||||
{
|
||||
GEOM::ListOfLong_var aValues = aGeomIntFieldStep->GetValues();
|
||||
for( size_t i = 0, n = aValues->length(); i < n; i++ )
|
||||
aFieldStepData << (long)aValues[i];
|
||||
aFieldStepData << (qlonglong)aValues[i];
|
||||
}
|
||||
}
|
||||
else if( aFieldDataType == GEOM::FDT_Double )
|
||||
|
@ -715,11 +715,14 @@ CORBA::Double GEOM_ITransformOperations_i::ProjectPointOnWire
|
||||
}
|
||||
|
||||
Handle(GEOM_Object) aPointOnEdge;
|
||||
Standard_Integer anEdgeIndex;
|
||||
CORBA::Double aResult = GetOperations()->ProjectPointOnWire
|
||||
(aPoint, aWire, aPointOnEdge, theEdgeInWireIndex);
|
||||
(aPoint, aWire, aPointOnEdge, anEdgeIndex);
|
||||
|
||||
if (!aPointOnEdge.IsNull()) {
|
||||
thePointOnEdge = GetObject(aPointOnEdge);
|
||||
GEOM::GEOM_Object_var obj = GetObject(aPointOnEdge);
|
||||
thePointOnEdge = obj.out();
|
||||
theEdgeInWireIndex = anEdgeIndex;
|
||||
}
|
||||
|
||||
return aResult;
|
||||
|
Loading…
Reference in New Issue
Block a user