diff --git a/src/filtertransdialog.cpp b/src/filtertransdialog.cpp index e6f06a292f..df367dd240 100644 --- a/src/filtertransdialog.cpp +++ b/src/filtertransdialog.cpp @@ -1403,7 +1403,7 @@ bool mmFilterTransactionsDialog::mmIsTagMatches(const wxString& refType, int ref bool match = true; wxArrayString tags = tagTextCtrl_->GetTagStrings(); - for (int i = 0; i < tags.GetCount(); i++) + for (int i = 0; i < static_cast(tags.GetCount()); i++) { wxString tag = tags.Item(i); // if the tag is the "OR" operator, fetch the next tag and compare with OR diff --git a/src/mmex.cpp b/src/mmex.cpp index 7ba7b4a12d..b07e3b1b7b 100644 --- a/src/mmex.cpp +++ b/src/mmex.cpp @@ -47,9 +47,9 @@ static const wxCmdLineEntryDesc g_cmdLineDesc[] = { "where is a path to mmexini.db3" "\n\nTo open a determined database(.mmb) file from a shortcut or command line, set the path to the database file as a parameter." "\n\nThe file with the application settings mmexini.db3 can be used separately." - " Otherwise, it is taken from the home directory or the root folder of the application." }, + " Otherwise, it is taken from the home directory or the root folder of the application.", wxCMD_LINE_VAL_STRING, 0 }, { wxCMD_LINE_PARAM, nullptr, nullptr, wxT_2("database file"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL }, - { wxCMD_LINE_NONE } + { wxCMD_LINE_NONE, nullptr, nullptr, nullptr, wxCMD_LINE_VAL_NONE, 0 } }; //----------------------------------------------------------------------------