cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject [39/47] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit
Date Mon, 05 May 2014 16:13:36 GMT
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/cdvtest
Commit: 175f02ed6f19b4912eb345448d38d54c6c61d6e9
Parents: ab8a448
Author: James Jong <wjamesjong@gmail.com>
Authored: Wed Mar 12 13:01:29 2014 -0400
Committer: James Jong <wjamesjong@gmail.com>
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];
 


Mime
View raw message