Fix some more gcc warnings.
This commit is contained in:
@@ -303,7 +303,7 @@ TCPlusObject BView_Create_1(TPasObject PasObject,
|
|||||||
|
|
||||||
void BView_Free(TCPlusObject View)
|
void BView_Free(TCPlusObject View)
|
||||||
{
|
{
|
||||||
delete View;
|
delete reinterpret_cast<BView*>(View);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ TCPlusObject BWindow_Create_1(TPasObject PasObject,
|
|||||||
|
|
||||||
void BWindow_Free(TCPlusObject Window)
|
void BWindow_Free(TCPlusObject Window)
|
||||||
{
|
{
|
||||||
delete Window;
|
delete reinterpret_cast<BWindow*>(Window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BWindow_Show(TCPlusObject Window)
|
void BWindow_Show(TCPlusObject Window)
|
||||||
|
|||||||
Reference in New Issue
Block a user