diff --git a/src/preferences/bluetooth/BluetoothSettingsView.cpp b/src/preferences/bluetooth/BluetoothSettingsView.cpp index a158f45b37..0e9a6a06c9 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(0); + BMenuItem* item = fLocalDevicesMenu->RemoveItem(0L); if (item != NULL) { delete item;