make GIMPACT compile under MSVC 6

This commit is contained in:
ejcoumans
2007-09-30 03:40:44 +00:00
parent 150f7f704b
commit 9a427a4ad9
6 changed files with 26 additions and 12 deletions

View File

@@ -48,7 +48,9 @@ void gim_contact_array::merge_contacts(
//fill key contacts
for (GUINT i = 0;i<contacts.size() ;i++ )
GUINT i;
for (i = 0;i<contacts.size() ;i++ )
{
keycontacts[i].m_key = contacts[i].calc_key_contact();
keycontacts[i].m_value = i;
@@ -68,7 +70,9 @@ void gim_contact_array::merge_contacts(
push_back(contacts[keycontacts[0].m_value]);
GIM_CONTACT * pcontact = &back();
for(GUINT i=1;i<keycontacts.size();i++)
for( i=1;i<keycontacts.size();i++)
{
key = keycontacts[i].m_key;
const GIM_CONTACT * scontact = &contacts[keycontacts[i].m_value];