Skip to content

Commit

Permalink
Merge pull request pokeb#218 from JmeHsieh/master
Browse files Browse the repository at this point in the history
Solve building warning on Xcode 4.2 & iOS SDK 5.0
  • Loading branch information
pokeb committed Aug 6, 2011
2 parents bfdfdf0 + 8f27b7b commit 5c1b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ASIAuthenticationDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ - (void)orientationChanged:(NSNotification *)notification
{
[self showTitle];

UIInterfaceOrientation o = [[UIApplication sharedApplication] statusBarOrientation];
UIInterfaceOrientation o = (UIInterfaceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
CGFloat angle = 0;
switch (o) {
case UIDeviceOrientationLandscapeLeft: angle = 90; break;
Expand Down

0 comments on commit 5c1b917

Please sign in to comment.