]> git.sesse.net Git - vlc/commitdiff
macosx: fixed compilation warning
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 21 May 2009 15:02:53 +0000 (17:02 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 21 May 2009 15:04:40 +0000 (17:04 +0200)
modules/gui/macosx/simple_prefs.m

index 2e457c1680a116196d98b658b4bd65f3bdb2de5f..30379244dd276328baafd06353d79b4df0cb2814 100644 (file)
@@ -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] )
         {