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 E53F011EAD for ; Mon, 5 May 2014 16:13:30 +0000 (UTC) Received: (qmail 34935 invoked by uid 500); 5 May 2014 16:13:18 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 34690 invoked by uid 500); 5 May 2014 16:13:11 -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 34153 invoked by uid 99); 5 May 2014 16:13:01 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 16:13:01 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BA809911462; Mon, 5 May 2014 16:12:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mmocny@apache.org To: commits@cordova.apache.org Date: Mon, 05 May 2014 16:13:36 -0000 Message-Id: <127100f0c7af46288b3a0ff378e6508e@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [39/47] 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-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/175f02ed Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/175f02ed Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/175f02ed Branch: refs/heads/cdvtest Commit: 175f02ed6f19b4912eb345448d38d54c6c61d6e9 Parents: ab8a448 Author: James Jong Authored: Wed Mar 12 13:01:29 2014 -0400 Committer: James Jong Committed: Wed Mar 12 13:01:29 2014 -0400 ---------------------------------------------------------------------- src/ios/CDVLocation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/175f02ed/src/ios/CDVLocation.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVLocation.m b/src/ios/CDVLocation.m index 527a884..d52b03d 100644 --- a/src/ios/CDVLocation.m +++ b/src/ios/CDVLocation.m @@ -293,7 +293,7 @@ { NSMutableDictionary* posError = [NSMutableDictionary dictionaryWithCapacity:2]; - [posError setObject:[NSNumber numberWithInt:errorCode] forKey:@"code"]; + [posError setObject:[NSNumber numberWithUnsignedInteger:errorCode] forKey:@"code"]; [posError setObject:message ? message:@"" forKey:@"message"]; CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsDictionary:posError];