address compiler warning

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 05:47:15 +00:00
parent 3d81352cd8
commit ea93578e72
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,7 @@ FileTypeWindow::~FileTypeWindow()
{
if (fEntryList != 0) {
for (int32 i = 0 ; (i < fEntryList->CountItems()) ; i++) {
delete fEntryList->ItemAt(i);
delete static_cast<BEntry*>(fEntryList->ItemAt(i));
}
fEntryList->MakeEmpty();
delete fEntryList;

View File

@ -231,6 +231,8 @@ TerminalWindow::InitWindow(int32 id, entry_ref * settingsRef)
fLogToFilePanel = 0;
fWriteSelectionPanel = 0;
fSaveAsSettingsFilePanel = 0;
return B_OK;
}
status_t