mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Fix a compilation warning on Iphone 6+
This commit is contained in:
parent
3b6b4e633b
commit
f6d3943534
1 changed files with 2 additions and 2 deletions
|
@ -166,11 +166,11 @@ static ContactManager* sharedContactManager = nil;
|
|||
|
||||
ABAddressBookRef ab = ABAddressBookCreateWithOptions(nil, nil);
|
||||
ABRecordRef contactRecord;
|
||||
int index;
|
||||
CFIndex index;
|
||||
CFMutableArrayRef people = (CFMutableArrayRef)ABAddressBookCopyArrayOfAllPeople(ab);
|
||||
|
||||
if (nil != people) {
|
||||
int peopleCount = CFArrayGetCount(people);
|
||||
CFIndex peopleCount = CFArrayGetCount(people);
|
||||
|
||||
for (index = 0; index < peopleCount; index++) {
|
||||
contactRecord = (ABRecordRef)CFArrayGetValueAtIndex(people, index);
|
||||
|
|
Loading…
Reference in a new issue