mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-26 11:20:33 +05:00
Windows compatibility
This commit is contained in:
parent
97c05bd172
commit
db29d7dbad
@ -982,7 +982,13 @@ void* GEOM_Function::GetCallBackData()
|
|||||||
if(!aChild.FindAttribute(TDataStd_Comment::GetID(), aComment)) return NULL;
|
if(!aChild.FindAttribute(TDataStd_Comment::GetID(), aComment)) return NULL;
|
||||||
TCollection_AsciiString string( aComment->Get() );
|
TCollection_AsciiString string( aComment->Get() );
|
||||||
|
|
||||||
long long address = atoll( string.ToCString() );
|
long long address;
|
||||||
|
#ifndef WIN32
|
||||||
|
address = atoll ( string.ToCString() );
|
||||||
|
#else
|
||||||
|
address = _strtoi64 ( string.ToCString(), NULL, 10 );
|
||||||
|
#endif
|
||||||
|
|
||||||
return reinterpret_cast<void*> ( address );
|
return reinterpret_cast<void*> ( address );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user