From: Steve Brokenshire Date: Mon, 3 Aug 2015 20:33:14 +0000 (+0100) Subject: Added conversion to integer when getting account names for the Preferences form. X-Git-Tag: release-0.05~90 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=5926c1d62774ffa4e8157fa1cb7f4cc052294405;p=xestiaab%2F.git Added conversion to integer when getting account names for the Preferences form. --- diff --git a/source/frmPreferences.cpp b/source/frmPreferences.cpp index 0244d49..8c3149e 100644 --- a/source/frmPreferences.cpp +++ b/source/frmPreferences.cpp @@ -102,7 +102,7 @@ void frmPreferences::ModifyABAccount( wxCommandEvent& event ) wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED); - AccName = preferences->accounts.GetAccountName(lstAccountsIndex); + AccName = preferences->accounts.GetAccountName((int)lstAccountsIndex); frmEditAccount *frameEditAccount = new frmEditAccount ( this ); frameEditAccount->LoadPointers(cfgfile); @@ -150,7 +150,7 @@ void frmPreferences::DeleteABAccount( wxCommandEvent& event ) wxFileConfig *cfgfile = new wxFileConfig("", "", AccFilename); - AccName = preferences->accounts.GetAccountName(lstAccountsIndex); + AccName = preferences->accounts.GetAccountName((int)lstAccountsIndex); // Get the account directory name and account type..