From: jfa Date: Fri, 11 Aug 2006 11:48:43 +0000 (+0000) Subject: PAL13137: Some modifications to work on 64 bits architectures. Correct compilation... X-Git-Tag: For_OCT_611 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d39ce50cebbf514a233a305fac0ee8faec7a190e;p=modules%2Fsuperv.git PAL13137: Some modifications to work on 64 bits architectures. Correct compilation error. --- diff --git a/src/GraphBase/DataFlowBase_DataPort.cxx b/src/GraphBase/DataFlowBase_DataPort.cxx index f8b92c2..c60b7b2 100644 --- a/src/GraphBase/DataFlowBase_DataPort.cxx +++ b/src/GraphBase/DataFlowBase_DataPort.cxx @@ -386,7 +386,12 @@ void GraphBase::DataPort::SetValue( const CORBA::Any * aDataValue ) { } else if ( !strcmp( Type , "boolean" ) || !strcmp( Type , "char" ) || !strcmp( Type , "short" ) || !strcmp( Type , "int" ) || !strcmp( Type , "long" ) ) { +#ifdef OMNI_LONG_IS_INT + long ll = (long ) obj ; + CORBA::Long l = (CORBA::Long ) ll ; +#else CORBA::Long l = (CORBA::Long ) obj ; +#endif *theValue <<= l ; *theValue >>= l; #if ValueTrace