]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_Mesh_i.cxx
Salome HOME
Porting on Mandriva 64 (without libtool modifications)
[modules/smesh.git] / src / SMESH_I / SMESH_Mesh_i.cxx
index 16ee57c784a3221289794427a4e57aada2ae93c3..5ccd2e510225eee5a8901521eddd693ea06e8750 100644 (file)
@@ -1639,7 +1639,7 @@ SMESH::ElementType SMESH_Mesh_i::GetElementType( const CORBA::Long id, const boo
 
 CORBA::Long SMESH_Mesh_i::GetMeshPtr()
 {
-  return (CORBA::Long)_impl;
+  return CORBA::Long(size_t(_impl));
 }