Skip to content

Commit ab8c155

Browse files
committed
Warning fixes
1 parent 52f3dfb commit ab8c155

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ui/drivers/cocoa/apple_platform.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ typedef enum apple_view_type
4949

5050
#if defined(HAVE_COCOA_METAL) && !defined(HAVE_COCOATOUCH)
5151
@interface WindowListener : NSResponder<NSWindowDelegate>
52-
@property (nonatomic) NSWindow* window;
52+
/* assign (not retain) - WindowListener is a delegate; the window owns it, not vice versa */
53+
@property (nonatomic, assign) NSWindow *window;
5354
@end
5455
#endif
5556

0 commit comments

Comments
 (0)