[vlc-devel] commit: macosx: fixed compilation warning ( Felix Paul Kühne )

git version control git at videolan.org
Thu May 21 17:04:08 CEST 2009


vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Thu May 21 17:02:53 2009 +0200| [b91b6e06ca7f09fad1f38f2835e78f10b1d019e0] | committer: Felix Paul Kühne 

macosx: fixed compilation warning

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

 modules/gui/macosx/simple_prefs.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 2e457c1..3037924 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -570,7 +570,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
     /********************
      * hotkeys settings *
      ********************/
-    struct hotkey *p_hotkeys = p_intf->p_libvlc->p_hotkeys;
+    const struct hotkey *p_hotkeys = p_intf->p_libvlc->p_hotkeys;
     o_hotkeySettings = [[NSMutableArray alloc] init];
     NSMutableArray *o_tempArray_desc = [[NSMutableArray alloc] init];
     i = 1;
@@ -931,7 +931,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
      ********************/
     if( b_hotkeyChanged )
     {
-        struct hotkey *p_hotkeys = p_intf->p_libvlc->p_hotkeys;
+        const struct hotkey *p_hotkeys = p_intf->p_libvlc->p_hotkeys;
         i = 1;
         while( i < [o_hotkeySettings count] )
         {




More information about the vlc-devel mailing list