You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/04/23 20:57:39 UTC

[06/14] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit

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/master
Commit: 007630da4866d867321008c6b8e1ebf57f05f259
Parents: bf360f0
Author: James Jong <wj...@gmail.com>
Authored: Wed Mar 12 13:12:50 2014 -0400
Committer: James Jong <wj...@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];