cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesj...@apache.org
Subject git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit
Date Wed, 12 Mar 2014 17:42:24 GMT
Repository: cordova-plugin-media
Updated Branches:
  refs/heads/dev e504d6696 -> 29fa80ba5


CB-6212 iOS: fix warnings compiled under arm64 64-bit


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/29fa80ba
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/29fa80ba
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/29fa80ba

Branch: refs/heads/dev
Commit: 29fa80ba5dfa27f5be4e254442d72037cf3ff71e
Parents: e504d66
Author: James Jong <wjamesjong@gmail.com>
Authored: Wed Mar 12 13:41:36 2014 -0400
Committer: James Jong <wjamesjong@gmail.com>
Committed: Wed Mar 12 13:41:36 2014 -0400

----------------------------------------------------------------------
 src/ios/CDVSound.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/29fa80ba/src/ios/CDVSound.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSound.m b/src/ios/CDVSound.m
index 5364fcb..0dad4a6 100644
--- a/src/ios/CDVSound.m
+++ b/src/ios/CDVSound.m
@@ -253,7 +253,7 @@
 {
     NSMutableDictionary* errorDict = [NSMutableDictionary dictionaryWithCapacity:2];
 
-    [errorDict setObject:[NSNumber numberWithUnsignedInt:code] forKey:@"code"];
+    [errorDict setObject:[NSNumber numberWithUnsignedInteger:code] forKey:@"code"];
     [errorDict setObject:message ? message:@"" forKey:@"message"];
     return [errorDict JSONString];
 }


Mime
View raw message