bluetooth/preflet: Fix x86_64 build

This commit is contained in:
Alexander von Gluck IV
2016-04-09 21:43:53 -05:00
parent 837845c53d
commit a4a85baea1
2 changed files with 5 additions and 4 deletions
@@ -304,7 +304,7 @@ BluetoothSettingsView::_BuildLocalDevicesMenu()
fLocalDevicesMenu = new BPopUpMenu(B_TRANSLATE("Pick device..."));
while (fLocalDevicesMenu->CountItems() > 0) {
BMenuItem* item = fLocalDevicesMenu->RemoveItem(0L);
BMenuItem* item = fLocalDevicesMenu->RemoveItem(0);
if (item != NULL) {
delete item;
@@ -121,14 +121,15 @@ RemoteDevicesView::MessageReceived(BMessage* message)
switch (message->what) {
case kMsgAddDevices:
{
InquiryPanel* inquiryPanel = new InquiryPanel(BRect(100, 100, 450, 450),
ActiveLocalDevice);
InquiryPanel* inquiryPanel= new InquiryPanel(
BRect(100, 100, 450, 450), ActiveLocalDevice);
inquiryPanel->Show();
break;
}
case kMsgRemoveDevice:
printf("kMsgRemoveDevice: %ld\n", fDeviceList->CurrentSelection(0));
printf("kMsgRemoveDevice: %" B_PRId32 "\n",
fDeviceList->CurrentSelection(0));
fDeviceList->RemoveItem(fDeviceList->CurrentSelection(0));
break;
case kMsgAddToRemoteList: