[vlc-commits] macosx/hotkeys: fix compilation warnings

Felix Paul Kühne git at videolan.org
Sun Feb 2 16:30:00 CET 2020


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Fri Jan 31 12:42:27 2020 +0100| [0239c119b1a71ead2292c71e40e95640b74b36d9] | committer: Felix Paul Kühne

macosx/hotkeys: fix compilation warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0239c119b1a71ead2292c71e40e95640b74b36d9
---

 modules/gui/macosx/coreinteraction/VLCHotkeysController.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/coreinteraction/VLCHotkeysController.m b/modules/gui/macosx/coreinteraction/VLCHotkeysController.m
index 43a7e6080f..787f5c9645 100644
--- a/modules/gui/macosx/coreinteraction/VLCHotkeysController.m
+++ b/modules/gui/macosx/coreinteraction/VLCHotkeysController.m
@@ -81,7 +81,7 @@
     VLCPlayerController *playerController = [[[VLCMain sharedInstance] playlistController] playerController];
     unichar key = 0;
     vlc_value_t val;
-    unsigned int i_pressed_modifiers = 0;
+    NSEventModifierFlags i_pressed_modifiers = 0;
     val.i_int = 0;
 
     i_pressed_modifiers = [anEvent modifierFlags];
@@ -197,7 +197,7 @@
 
     unichar key = 0;
     vlc_value_t val;
-    unsigned int i_pressed_modifiers = 0;
+    NSEventModifierFlags i_pressed_modifiers = 0;
 
     val.i_int = 0;
     i_pressed_modifiers = [o_event modifierFlags];



More information about the vlc-commits mailing list