Cast as NSUInteger

This commit is contained in:
twinaphex 2016-05-02 14:54:08 +02:00
parent 53fc458795
commit ce5d065014
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ void *glkitview_init(void);
/* NOTE: This version runs on iOS6+. */ /* NOTE: This version runs on iOS6+. */
- (NSUInteger)supportedInterfaceOrientations - (NSUInteger)supportedInterfaceOrientations
{ {
return apple_frontend_settings.orientation_flags; return (NSUInteger)apple_frontend_settings.orientation_flags;
} }
/* NOTE: This version runs on iOS2-iOS5, but not iOS6+. */ /* NOTE: This version runs on iOS2-iOS5, but not iOS6+. */