diff options
Diffstat (limited to 'vcl/osx/salmenu.cxx')
-rw-r--r-- | vcl/osx/salmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx index 6d2c6d83c4b0..a69d8847f0d5 100644 --- a/vcl/osx/salmenu.cxx +++ b/vcl/osx/salmenu.cxx @@ -246,7 +246,7 @@ AquaSalMenu::AquaSalMenu( bool bMenuBar ) : if( ! mbMenuBar ) { mpMenu = [[SalNSMenu alloc] initWithMenu: this]; - [mpMenu setDelegate: (id<NSMenuDelegate>)mpMenu]; + [mpMenu setDelegate: static_cast<id<NSMenuDelegate>>(mpMenu)]; } else { |