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);
wxFileConfig *cfgfile = new wxFileConfig("", "", AccFilename);
- AccName = preferences->accounts.GetAccountName(lstAccountsIndex);
+ AccName = preferences->accounts.GetAccountName((int)lstAccountsIndex);
// Get the account directory name and account type..