Salome HOME
WIN32 compilation.
[modules/geom.git] / src / GEOM_I / GEOM_IOperations_i.cc
index 059e751ae5ebb4face84d2e3232ee43adcc22f0c..ddb90948fff925bfd615b17189ad9bcdf2a294c7 100644 (file)
@@ -140,7 +140,7 @@ GEOM::GEOM_Object_ptr GEOM_IOperations_i::GetObject(Handle(GEOM_Object) theObjec
   if (theObject.IsNull()) return GO._retn();
   TCollection_AsciiString anEntry;
   TDF_Tool::Entry(theObject->GetEntry(), anEntry);
-  GO = _engine->GetObject(theObject->GetDocID(), anEntry.ToCString());
+  GO = _engine->GetObject(theObject->GetDocID(), (char*) anEntry.ToCString());
   return GO._retn();
 }