Avoid some warnings under Haiku.
This commit is contained in:
@@ -193,7 +193,7 @@ TCPlusObject BApplication_Create_3(TPasObject PasObject, const char *Signature,
|
||||
|
||||
void BApplication_Free(TCPlusObject Application)
|
||||
{
|
||||
delete Application;
|
||||
delete reinterpret_cast<BPApplication*>(Application);
|
||||
}
|
||||
|
||||
void BApplication_HideCursor(TCPlusObject Application)
|
||||
|
||||
@@ -77,7 +77,7 @@ TCPlusObject BMessage_Create_2(TPasObject PasObject, uint32 what)
|
||||
|
||||
void BMessage_Free(TCPlusObject message)
|
||||
{
|
||||
delete message;
|
||||
delete reinterpret_cast<BPMessage*>(message);
|
||||
}
|
||||
|
||||
uint32 BMessage_Getwhat(TCPlusObject message)
|
||||
|
||||
@@ -42,7 +42,7 @@ TCPlusObject BRoster_Create(TPasObject PasObject)
|
||||
|
||||
void BRoster_Destroy(TPasObject PasObject)
|
||||
{
|
||||
delete PasObject;
|
||||
delete reinterpret_cast<BRoster*>(PasObject);
|
||||
}
|
||||
|
||||
//status_t BRoster_Broadcast(TCPlusObject Roster, TCPlusObject *message)
|
||||
|
||||
Reference in New Issue
Block a user