Mercurial > libpst
diff src/pst2ldif.cpp @ 106:07d090676ce9 stable-0-6-20
cleanup fedora9 compile warnings
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 11 Oct 2008 12:36:00 -0700 |
parents | 4703d622e95b |
children | 1b2a4fac1303 |
line wrap: on
line diff
--- a/src/pst2ldif.cpp Sat Oct 11 12:22:20 2008 -0700 +++ b/src/pst2ldif.cpp Sat Oct 11 12:36:00 2008 -0700 @@ -298,7 +298,7 @@ if (item->comment) print_ldif_single("description", item->comment); - for (size_type i=0; i<ldap_class.size(); i++) + for (vector<string>::size_type i=0; i<ldap_class.size(); i++) print_ldif_single("objectClass", ldap_class[i].c_str()); printf("\n"); } @@ -640,7 +640,7 @@ printf("objectClass: organization\n\n"); printf("dn: cn=root, %s\n", ldap_base); printf("cn: root\n"); - for (size_type i=0; i<ldap_class.size(); i++) + for (vector<string>::size_type i=0; i<ldap_class.size(); i++) print_ldif_single("objectClass", ldap_class[i].c_str()); printf("\n"); }