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