Repository: cordova-plugin-geolocation Updated Branches: refs/heads/dev ab8a448e5 -> 175f02ed6
CB-6212 iOS: fix warnings compiled under arm64 64-bit Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/175f02ed Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/175f02ed Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/175f02ed Branch: refs/heads/dev Commit: 175f02ed6f19b4912eb345448d38d54c6c61d6e9 Parents: ab8a448 Author: James Jong <[email protected]> Authored: Wed Mar 12 13:01:29 2014 -0400 Committer: James Jong <[email protected]> Committed: Wed Mar 12 13:01:29 2014 -0400 ---------------------------------------------------------------------- src/ios/CDVLocation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/175f02ed/src/ios/CDVLocation.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m index 527a884..d52b03d 100644 --- a/src/ios/CDVLocation.m +++ b/src/ios/CDVLocation.m @@ -293,7 +293,7 @@ { NSMutableDictionary* posError = [NSMutableDictionary dictionaryWithCapacity:2]; - [posError setObject:[NSNumber numberWithInt:errorCode] forKey:@"code"]; + [posError setObject:[NSNumber numberWithUnsignedInteger:errorCode] forKey:@"code"]; [posError setObject:message ? message:@"" forKey:@"message"]; CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsDictionary:posError];
