mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
Fixes for compilation errors with type cast.
This commit is contained in:
@@ -177,7 +177,9 @@ Standard_Size Storage_IStream::Write (const Standard_Address /*theBuffer*/, cons
|
||||
//=======================================================================
|
||||
TCollection_AsciiString Storage_IStream::Signature() const
|
||||
{
|
||||
return TCollection_AsciiString( (Standard_Integer)myStream );
|
||||
Standard_Character buf[256];
|
||||
sprintf( buf, "%lx", (unsigned long)myStream );
|
||||
return TCollection_AsciiString( buf );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
@@ -183,7 +183,9 @@ Standard_Size Storage_OStream::Write (const Standard_Address theBuffer, const St
|
||||
//=======================================================================
|
||||
TCollection_AsciiString Storage_OStream::Signature() const
|
||||
{
|
||||
return TCollection_AsciiString( (Standard_Integer)myStream );
|
||||
Standard_Character buf[256];
|
||||
sprintf( buf, "%lx", (unsigned long)myStream );
|
||||
return TCollection_AsciiString( buf );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user