Ben Copsey

Merge pull request #218 from JmeHsieh/master

Solve building warning on Xcode 4.2 & iOS SDK 5.0
@@ -133,7 +133,7 @@ static const NSUInteger kDomainSection = 1; @@ -133,7 +133,7 @@ static const NSUInteger kDomainSection = 1;
133 { 133 {
134 [self showTitle]; 134 [self showTitle];
135 135
136 - UIInterfaceOrientation o = [[UIApplication sharedApplication] statusBarOrientation]; 136 + UIInterfaceOrientation o = (UIInterfaceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
137 CGFloat angle = 0; 137 CGFloat angle = 0;
138 switch (o) { 138 switch (o) {
139 case UIDeviceOrientationLandscapeLeft: angle = 90; break; 139 case UIDeviceOrientationLandscapeLeft: angle = 90; break;