Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E98BE18842 for ; Wed, 2 Sep 2015 21:00:02 +0000 (UTC) Received: (qmail 37464 invoked by uid 500); 2 Sep 2015 21:00:02 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37425 invoked by uid 500); 2 Sep 2015 21:00:02 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 37414 invoked by uid 99); 2 Sep 2015 21:00:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2015 21:00:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 37352E7DEC; Wed, 2 Sep 2015 21:00:02 +0000 (UTC) From: fatty1380 To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org Message-ID: Subject: [GitHub] cordova-ios pull request: Prevent Compilation Warning : Conflictin... Content-Type: text/plain Date: Wed, 2 Sep 2015 21:00:02 +0000 (UTC) GitHub user fatty1380 opened a pull request: https://github.com/apache/cordova-ios/pull/157 Prevent Compilation Warning : Conflicting Return Type The `supportedInterfaceOrientationsForWindow` method currently returns a value of type `NSUInteger`. This causes a warning in the Xcode console: > Conflicting return type in implementation of 'application:supportedInterfaceOrientationsForWindow:': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned long') This change updates the return type to be `UIInterfaceOrientationMask` rather than `NSUInteger` to avoid the warning You can merge this pull request into a Git repository by running: $ git pull https://github.com/fatty1380/cordova-ios patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-ios/pull/157.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #157 ---- commit cfe9ad7ef646d974abcf93e56b6ee27bab589435 Author: Patrick Fowler Date: 2015-09-02T20:59:55Z Prevent Compilation Warning : Conflicting Return Type The `supportedInterfaceOrientationsForWindow` method currently returns a value of type `NSUInteger`. This causes a warning in the Xcode console: > Conflicting return type in implementation of 'application:supportedInterfaceOrientationsForWindow:': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned long') This change updates the return type to be `UIInterfaceOrientationMask` rather than `NSUInteger` to avoid the warning ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org