From b96bc4267ea4f87a332a349187e0038fdcf6253c Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Fri, 12 Aug 2022 02:09:53 -0500 Subject: InputCommon: Enable ARC for obj-c++ --- .../InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface') diff --git a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm index b8ae0219be..9cc8d07926 100644 --- a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm +++ b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm @@ -149,7 +149,7 @@ KeyboardAndMouse::KeyboardAndMouse(void* view) AddCombinedInput("Shift", {"Left Shift", "Right Shift"}); AddCombinedInput("Ctrl", {"Left Control", "Right Control"}); - NSView* cocoa_view = reinterpret_cast(view); + NSView* cocoa_view = (__bridge NSView*)view; // PopulateDevices may be called on the Emuthread, so we need to ensure that // these UI APIs are only ever called on the main thread. -- cgit v1.2.3