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:14:04 GMT
Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/dev bf360f0ec -> 007630da4


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


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

Branch: refs/heads/dev
Commit: 007630da4866d867321008c6b8e1ebf57f05f259
Parents: bf360f0
Author: James Jong <wjamesjong@gmail.com>
Authored: Wed Mar 12 13:12:50 2014 -0400
Committer: James Jong <wjamesjong@gmail.com>
Committed: Wed Mar 12 13:12:50 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/007630da/src/ios/CDVCapture.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCapture.m b/src/ios/CDVCapture.m
index b214412..11a4de6 100644
--- a/src/ios/CDVCapture.m
+++ b/src/ios/CDVCapture.m
@@ -440,7 +440,7 @@
         // NSLog(@"getFormatData: %@", [formatData description]);
     }
     if (bError) {
-        result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:errorCode];
+        result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:(int)errorCode];
     }
     if (result) {
         [self.commandDelegate sendPluginResult:result callbackId:callbackId];


Mime
View raw message