Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6ACAAC46F for ; Wed, 12 Mar 2014 17:14:07 +0000 (UTC) Received: (qmail 70753 invoked by uid 500); 12 Mar 2014 17:14:06 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 70717 invoked by uid 500); 12 Mar 2014 17:14:05 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 70700 invoked by uid 99); 12 Mar 2014 17:14:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 17:14:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6C1FE942308; Wed, 12 Mar 2014 17:14:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jamesjong@apache.org To: commits@cordova.apache.org Message-Id: <7cafe3e9412443a5821eeb52afea5aa1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit Date: Wed, 12 Mar 2014 17:14:04 +0000 (UTC) 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 Authored: Wed Mar 12 13:12:50 2014 -0400 Committer: James Jong 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];