From fc90840855ae0a8d07420bf32f15b38e9de9a6d5 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 30 Jul 2009 16:14:24 +0000 Subject: [PATCH] Remove warnings --- src/OBJECT/SMESH_PreviewActorsCollection.h | 2 +- src/SMESH_I/SMESH_Filter_i.cxx | 2 +- src/SMESH_I/SMESH_Gen_i_1.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OBJECT/SMESH_PreviewActorsCollection.h b/src/OBJECT/SMESH_PreviewActorsCollection.h index 857570ace..c5b4c041a 100644 --- a/src/OBJECT/SMESH_PreviewActorsCollection.h +++ b/src/OBJECT/SMESH_PreviewActorsCollection.h @@ -28,7 +28,7 @@ #ifndef SMESH_PREVIEW_ACTOR_COLLECTION_H #define SMESH_PREVIEW_ACTOR_COLLECTION_H -#include +#include "SMESH_Actor.h" #include #include "SMESH_Object.h" #include diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index bd92ee2d4..40742a667 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -533,7 +533,7 @@ static TopoDS_Shape getShapeByID (const char* theID) static char* getShapeNameByID (const char* theID) { - char* aName = ""; + char* aName = (char*)""; if (theID != 0 && theID != "") { SMESH_Gen_i* aSMESHGen = SMESH_Gen_i::GetSMESHGen(); diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index bcd0cc91b..a001e6a83 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -588,7 +588,7 @@ SALOMEDS::SObject_ptr SMESH_Gen_i::PublishSubMesh (SALOMEDS::Study_ptr theS } // Find submesh sub-tree tag long aRootTag; - char* aRootName = ""; + const char* aRootName = ""; switch ( theShapeObject->GetShapeType() ) { case GEOM::VERTEX: aRootTag = GetSubMeshOnVertexTag(); -- 2.39.2