[haiku-commits] haiku: hrev50205 - src/preferences/bluetooth

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 10 Apr 2016 04:35:15 +0200 (CEST)

hrev50205 adds 1 changeset to branch 'master'
old head: 837845c53defd739153900f04e1bfcb4dd20435f
new head: a4a85baea15571fb2e24eb9ac42b6ca96ef54db3
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=a4a85baea155+%5E837845c53def

----------------------------------------------------------------------------

a4a85baea155: bluetooth/preflet: Fix x86_64 build

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50205
Commit:      a4a85baea15571fb2e24eb9ac42b6ca96ef54db3
URL:         http://cgit.haiku-os.org/haiku/commit/?id=a4a85baea155
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Sun Apr 10 02:43:53 2016 UTC

----------------------------------------------------------------------------

2 files changed, 5 insertions(+), 4 deletions(-)
src/preferences/bluetooth/BluetoothSettingsView.cpp | 2 +-
src/preferences/bluetooth/RemoteDevicesView.cpp     | 7 ++++---

----------------------------------------------------------------------------

diff --git a/src/preferences/bluetooth/BluetoothSettingsView.cpp 
b/src/preferences/bluetooth/BluetoothSettingsView.cpp
index 0e9a6a0..a158f45 100644
--- a/src/preferences/bluetooth/BluetoothSettingsView.cpp
+++ b/src/preferences/bluetooth/BluetoothSettingsView.cpp
@@ -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;
diff --git a/src/preferences/bluetooth/RemoteDevicesView.cpp 
b/src/preferences/bluetooth/RemoteDevicesView.cpp
index 0a1e6a3..88da870 100644
--- a/src/preferences/bluetooth/RemoteDevicesView.cpp
+++ b/src/preferences/bluetooth/RemoteDevicesView.cpp
@@ -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:


Other related posts:

  • » [haiku-commits] haiku: hrev50205 - src/preferences/bluetooth - kallisti5