Skip to content

Commit ecade8c

Browse files
z3ntuQbicz
authored andcommitted
testgui: fix incompatible pointer warning
mac_support_cocoa.m:67:49: warning: incompatible pointer types sending 'MyAppDelegate *' to parameter of type 'id<NSApplicationDelegate> _Nullable' [-Wincompatible-pointer-types] [[NSApplication sharedApplication] setDelegate:d]; ^
1 parent 04a1789 commit ecade8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgui/mac_support_cocoa.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
extern FXMainWindow *g_main_window;
2121

2222

23-
@interface MyAppDelegate : NSObject
23+
@interface MyAppDelegate : NSObject<NSApplicationDelegate>
2424
{
2525
}
2626
@end

0 commit comments

Comments
 (0)