From e0d3ae00b755540d163f7845ca728349f1c0ae4d Mon Sep 17 00:00:00 2001 From: Yann Lugrin Date: Wed, 26 Mar 2014 10:59:25 +0100 Subject: [PATCH] CB-6350 - Fix networkStatusForFlags return value type to work with 64-bit iOS (closes #8) Signed-off-by: Shazron Abdullah --- src/ios/CDVReachability.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVReachability.m b/src/ios/CDVReachability.m index 89f4ec9..c60261a 100644 --- a/src/ios/CDVReachability.m +++ b/src/ios/CDVReachability.m @@ -205,7 +205,7 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe return NotReachable; } - BOOL retVal = NotReachable; + NetworkStatus retVal = NotReachable; if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) { // if target host is reachable and no connection is required