Skip to content

Commit

Permalink
- WARN | [iOS] MessageDisplayKit/MessageDisplayKit/Classes/Controlle…
Browse files Browse the repository at this point in the history
…rs/XHMessageTableViewController/XHMessageTableViewController.m:710:1: warning: conflicting return type in implementation of 'supportedInterfaceOrientations': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned int') [-Wmismatched-return-types]
  • Loading branch information
xhzengAIB committed Sep 22, 2015
1 parent df910ca commit 40d859f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ - (BOOL)shouldAutorotate {
}

- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
return (NSUInteger)UIInterfaceOrientationMaskPortrait;
}

- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
Expand Down

0 comments on commit 40d859f

Please sign in to comment.