Compilation fixes for Terminal, add to image.

It runs, but has shown up various bugs: app_server crashes, kernel
panics, rendering problems. Working on fixing these now.
This commit is contained in:
Alex Smith
2012-08-05 10:24:22 +01:00
parent e5363c936a
commit adf8818ec0
24 changed files with 76 additions and 66 deletions
+2 -2
View File
@@ -1308,7 +1308,7 @@ BContainerWindow::SetLayoutState(BNode* node, const BMessage* message)
for (int32 index = 0; index < count; index++) {
const void* buffer;
int32 size;
ssize_t size;
result = message->FindData(name, type, index, &buffer, &size);
if (result != B_OK) {
PRINT(("error reading %s \n", name));
@@ -3059,7 +3059,7 @@ BContainerWindow::BuildAddOnMenu(BMenu* menu)
// found the addons menu, empty it first
for (;;) {
item = menu->RemoveItem(0L);
item = menu->RemoveItem((int32)0);
if (!item)
break;
delete item;