diff --git a/application/preferences/AccountDialog.cpp b/application/preferences/AccountDialog.cpp index 07d9ae7..377d52a 100644 --- a/application/preferences/AccountDialog.cpp +++ b/application/preferences/AccountDialog.cpp @@ -24,7 +24,7 @@ const uint32 kOK = 'SAVE'; AccountDialog::AccountDialog(const char* title, CayaProtocol* cayap, - const char* account = NULL) + const char* account) : BWindow(BRect(0, 0, 1, 1), title, B_MODAL_WINDOW, B_NOT_RESIZABLE | B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE) { diff --git a/libs/libinterface/BitmapUtils.cpp b/libs/libinterface/BitmapUtils.cpp index 5c4a6d5..ebb0546 100644 --- a/libs/libinterface/BitmapUtils.cpp +++ b/libs/libinterface/BitmapUtils.cpp @@ -6,6 +6,8 @@ * Pier Luigi Fiorini, pierluigi.fiorini@gmail.com */ +#include + #include #include diff --git a/libs/libsupport/List.h b/libs/libsupport/List.h index 5b6a4b0..5682db5 100644 --- a/libs/libsupport/List.h +++ b/libs/libsupport/List.h @@ -43,7 +43,7 @@ void List::AddItem(T type) template void List::RemoveItemAt(uint32 position) { - fIter i = fMap.begin(); + fIter i = fList.begin(); std::advance(i, position); fList.erase(i); }