MacSystemTrayIcon: Replace use of C-style cast

This commit is contained in:
Jonas Kvinge 2022-08-07 05:14:05 +02:00
parent 22844716d1
commit e31dd9f553
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class MacSystemTrayIconPrivate {
// Don't look now.
// This must be called after our custom NSApplicationDelegate has been set.
[(AppDelegate*)([NSApp delegate]) setDockMenu:dock_menu_];
[reinterpret_cast<AppDelegate*>([NSApp delegate]) setDockMenu:dock_menu_];
ClearNowPlaying();
}