Win32 compatibility

This commit is contained in:
ana 2014-04-16 18:00:06 +04:00
parent 0de979b494
commit e66a037179
2 changed files with 2 additions and 2 deletions

View File

@ -1174,7 +1174,7 @@ int SMESH_MeshEditor::Reorient2D (TIDSortedElemSet & theFaces,
avoidSet.clear();
avoidSet.insert(theFace);
NLink link( theFace->GetNode( 0 ), 0 );
NLink link( theFace->GetNode( 0 ), (SMDS_MeshNode *) 0 );
const int nbNodes = theFace->NbCornerNodes();
for ( int i = 0; i < nbNodes; ++i ) // loop on links of theFace

View File

@ -3551,7 +3551,7 @@ namespace { // Structures used by FixQuadraticElements()
}
else if ( _faces.size() > 1 ) // not found, set NULL by the first face
{
_faces.insert( ++_faces.begin(), 0 );
_faces.insert( ++_faces.begin(), (QFace*) 0 );
}
}
//================================================================================