incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From becka...@apache.org
Subject [42/50] git commit: Fixed warning - implicit conversion of UIInterfaceOrientation to UIDeviceOrientation (which are equivalent, for the two Portraits and two Landscape orientations)
Date Fri, 13 Jan 2012 15:59:07 GMT
Fixed warning - implicit conversion of UIInterfaceOrientation to UIDeviceOrientation (which
are equivalent, for the two Portraits and two Landscape orientations)


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/e3c1fb3b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/e3c1fb3b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/e3c1fb3b

Branch: refs/heads/master
Commit: e3c1fb3b1b81ff4490f0739dbf111615edf5312b
Parents: 334fecb
Author: shazron <shazron@gmail.com>
Authored: Fri Nov 25 16:08:38 2011 -0800
Committer: shazron <shazron@gmail.com>
Committed: Fri Nov 25 16:08:38 2011 -0800

----------------------------------------------------------------------
 PhoneGapLib/Classes/PhoneGapDelegate.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/e3c1fb3b/PhoneGapLib/Classes/PhoneGapDelegate.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PhoneGapDelegate.m b/PhoneGapLib/Classes/PhoneGapDelegate.m
index 58c3f16..4c99cf5 100644
--- a/PhoneGapLib/Classes/PhoneGapDelegate.m
+++ b/PhoneGapLib/Classes/PhoneGapDelegate.m
@@ -401,7 +401,7 @@ BOOL gSplashScreenShown = NO;
 
     if (UIDeviceOrientationUnknown == curDevOrientation) {
         //UIDevice isn't firing orientation notifications yet...go look at status bar
-        curDevOrientation = [[UIApplication sharedApplication] statusBarOrientation];
+        curDevOrientation = (UIDeviceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
     }
 
     if (UIDeviceOrientationIsValidInterfaceOrientation(curDevOrientation)) {


Mime
View raw message