Porting to CAS-6.3

This commit is contained in:
maintenance team 2008-09-12 10:13:14 +00:00
parent d477b455ac
commit 435f1a1b8f
3 changed files with 5 additions and 3 deletions

View File

@ -716,7 +716,7 @@ Handle(TColStd_HSequenceOfInteger) FindEntries(TCollection_AsciiString& theStrin
Standard_Integer aLen = theString.Length();
Standard_Boolean isFound = Standard_False;
char* arr = theString.ToCString();
const char* arr = theString.ToCString();
Standard_Integer i = 0, j;
while(i < aLen) {

View File

@ -62,7 +62,7 @@ class GEOM_IOperations
//Returns an error code of the last operatioin
Standard_EXPORT char* GetErrorCode() {
return _errorCode.ToCString();
return (char*) _errorCode.ToCString();
}
//Returns a pointer to GEOM_Engine which this operation interface is associated

View File

@ -88,7 +88,9 @@ Handle(GEOM_Object) GEOM_Object::GetObject(TDF_Label& theLabel)
GEOM_Engine* anEngine= GEOM_Engine::GetEngine();
if(anEngine == NULL) return NULL;
return anEngine->GetObject(anID->Get(), anEntry.ToCString());
return anEngine->GetObject(anID->Get(), (char*) anEntry.ToCString());
}
//=============================================================================