CB-6350 - Fix networkStatusForFlags return value type to work with 64-bit iOS

(closes #8)

Signed-off-by: Shazron Abdullah <shazron@apache.org>
This commit is contained in:
Yann Lugrin 2014-03-26 10:59:25 +01:00 committed by Shazron Abdullah
parent e437369c57
commit e0d3ae00b7

View File

@ -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