Skip to content

Commit 40d859f

Browse files
committed
- WARN | [iOS] MessageDisplayKit/MessageDisplayKit/Classes/Controllers/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]
1 parent df910ca commit 40d859f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MessageDisplayKit/Classes/Controllers/XHMessageTableViewController/XHMessageTableViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ - (BOOL)shouldAutorotate {
708708
}
709709

710710
- (NSUInteger)supportedInterfaceOrientations {
711-
return UIInterfaceOrientationMaskPortrait;
711+
return (NSUInteger)UIInterfaceOrientationMaskPortrait;
712712
}
713713

714714
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {

0 commit comments

Comments
 (0)