diff options
author | thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-11-17 15:12:11 +0000 |
---|---|---|
committer | thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-11-17 15:12:11 +0000 |
commit | a4369a79467e578a911944034c68ee0a05a5f28b (patch) | |
tree | ddcff54925b37479d63fcb404a17a025d44a4dc4 /AddressBook | |
parent | 18387b643a52117f23985c8f8c63f0789b7617b3 (diff) |
Fix iOS arm64 build related error in GTMAddressBook.
Under arm64, CFIndex (which was used for GTMABPropertyType) has gone 64-bit but ABPropertyType is still 32 bits in the iOS AddressBook.framework. So all the places where we're passing GTMABPropertyTypes where it expects an ABPropertyType break on the 64->32 truncation warning.
Diffstat (limited to 'AddressBook')
-rw-r--r-- | AddressBook/GTMABAddressBook.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AddressBook/GTMABAddressBook.h b/AddressBook/GTMABAddressBook.h index 4e704dc..7ef250d 100644 --- a/AddressBook/GTMABAddressBook.h +++ b/AddressBook/GTMABAddressBook.h @@ -102,7 +102,7 @@ typedef ABMultiValueIdentifier GTMABMultiValueIdentifier; kGTMABMultiDateTimePropertyType = kABMultiDateTimePropertyType, kGTMABMultiDictionaryPropertyType = kABMultiDictionaryPropertyType, }; -typedef CFIndex GTMABPropertyType; +typedef ABPropertyType GTMABPropertyType; #define kGTMABPersonFirstNameProperty kABPersonFirstNameProperty #define kGTMABPersonLastNameProperty kABPersonLastNameProperty #define kGTMABPersonBirthdayProperty kABPersonBirthdayProperty |