Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/dev bd6af4542 -> db9fa24cf


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/dev
Commit: db9fa24cf8ba165aabae0460a9cbeb1dd1d67e62
Parents: bd6af45
Author: James Jong <[email protected]>
Authored: Fri Mar 28 10:24:24 2014 -0400
Committer: James Jong <[email protected]>
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;

Reply via email to