diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 65d5b0cf0b..c570dc7131 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -315,7 +315,7 @@ bool CBOINCListCtrl::OnRestoreState(wxConfigBase* pConfig) { } -void CBOINCListCtrl::TokenizedStringToArray(wxString tokenized, char * delimiters, wxArrayString* array) { +void CBOINCListCtrl::TokenizedStringToArray(wxString tokenized, const char * delimiters, wxArrayString* array) { wxString name; array->Clear(); diff --git a/clientgui/BOINCListCtrl.h b/clientgui/BOINCListCtrl.h index 395f11a7d4..e2b1144040 100644 --- a/clientgui/BOINCListCtrl.h +++ b/clientgui/BOINCListCtrl.h @@ -74,7 +74,7 @@ public: virtual bool OnSaveState(wxConfigBase* pConfig); virtual bool OnRestoreState(wxConfigBase* pConfig); - void TokenizedStringToArray(wxString tokenized, char * delimiters, wxArrayString* array); + void TokenizedStringToArray(wxString tokenized, const char * delimiters, wxArrayString* array); void SetListColumnOrder(wxArrayString& orderArray); void SetStandardColumnOrder(); bool IsColumnOrderStandard();