cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [08/14] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit
Date Wed, 23 Apr 2014 18:57:41 GMT
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 <wjamesjong@gmail.com>
Authored: Fri Mar 28 10:24:24 2014 -0400
Committer: James Jong <wjamesjong@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;


Mime
View raw message