incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [2/2] ios commit: [CB-1597] Running ./cordova/debug / cordova/emulate causes errors
Date Tue, 23 Oct 2012 20:39:23 GMT
[CB-1597] Running ./cordova/debug / cordova/emulate causes errors


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/3767d5da
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/3767d5da
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/3767d5da

Branch: refs/heads/master
Commit: 3767d5dad7cc4d8d10797f7e4c83d2c447b6837f
Parents: 9e0bb93
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Oct 23 13:38:33 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Oct 23 13:38:33 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVContacts.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/3767d5da/CordovaLib/Classes/CDVContacts.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVContacts.m b/CordovaLib/Classes/CDVContacts.m
index e34ecab..ed4c112 100644
--- a/CordovaLib/Classes/CDVContacts.m
+++ b/CordovaLib/Classes/CDVContacts.m
@@ -327,7 +327,7 @@
                             matches = [NSMutableArray arrayWithCapacity:xferCount];
 
                             for (int k = 0; k < xferCount; k++) {
-                                CDVContact* xferContact = [[CDVContact alloc] initFromABRecord:(ABRecordRef)[foundRecords
objectAtIndex:k]];
+                                CDVContact* xferContact = [[CDVContact alloc] initFromABRecord:(__bridge
ABRecordRef)[foundRecords objectAtIndex:k]];
                                 [matches addObject:xferContact];
                                 xferContact = nil;
                             }
@@ -339,7 +339,7 @@
                         int testCount = [foundRecords count];
 
                         for (int j = 0; j < testCount; j++) {
-                            CDVContact* testContact = [[CDVContact alloc] initFromABRecord:(ABRecordRef)[foundRecords
objectAtIndex:j]];
+                            CDVContact* testContact = [[CDVContact alloc] initFromABRecord:(__bridge
ABRecordRef)[foundRecords objectAtIndex:j]];
                             if (testContact) {
                                 bFound = [testContact foundValue:filter inFields:returnFields];
                                 if (bFound) {


Mime
View raw message