X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmPreferences.cpp;h=8c3149e4fadf7ca49a7ef0a2998ce57c58548fad;hb=a117b08db467757f5920a4cc5791f89a3b5d830c;hp=0244d497c111aec42c5dc3aa7f2c3976d072a229;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git 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..