mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
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];
^
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
extern FXMainWindow *g_main_window;
|
||||
|
||||
|
||||
@interface MyAppDelegate : NSObject
|
||||
@interface MyAppDelegate : NSObject<NSApplicationDelegate>
|
||||
{
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user