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:41 UTC
[08/14] git commit: CB-6212 iOS: fix warnings compiled under arm64
64-bit
CB-6212 iOS: fix warnings compiled under arm64 64-bit
-fix one more warning
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/db9fa24c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/db9fa24c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/db9fa24c
Branch: refs/heads/master
Commit: db9fa24cf8ba165aabae0460a9cbeb1dd1d67e62
Parents: bd6af45
Author: James Jong <wj...@gmail.com>
Authored: Fri Mar 28 10:24:24 2014 -0400
Committer: James Jong <wj...@gmail.com>
Committed: Fri Mar 28 10:24:24 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/db9fa24c/src/ios/CDVCapture.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCapture.m b/src/ios/CDVCapture.m
index 11a4de6..aaa5d54 100644
--- a/src/ios/CDVCapture.m
+++ b/src/ios/CDVCapture.m
@@ -842,7 +842,7 @@
if (!self.pluginResult) {
// return error
- self.pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:self.errorCode];
+ self.pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageToErrorObject:(int)self.errorCode];
}
self.avRecorder = nil;