]> git.sesse.net Git - vlc/commitdiff
* shut up some compiler warnings
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 24 Jul 2005 13:08:27 +0000 (13:08 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 24 Jul 2005 13:08:27 +0000 (13:08 +0000)
modules/gui/macosx/prefs_widgets.m

index fd1acf246a48119ae38658cfdf575f10b00c6298..83f6853c98fc43ebbbb73d8742d3e9881c6ad8e3 100644 (file)
@@ -981,6 +981,12 @@ if( MACOS_VERSION >= 10.3 )                                                 \
 {
     return [o_label frame].size.width;
 }
+
+- (void) alignWithXPosition:(int)i_xPos;
+{
+    /* FIXME: not implemented atm, but created to shut up the warning
+     * about "method definition not found" -- FK @ 7/24/05 */
+}
 @end
 
 @implementation StringConfigControl
@@ -2119,7 +2125,7 @@ if( MACOS_VERSION >= 10.3 )                                                 \
     i_new_key |= ([o_shift_checkbox state] == NSOnState) ?
         KEY_MODIFIER_SHIFT : 0;
 
-    i_new_key |= StringToKey([[[o_popup selectedItem] title] cString]);
+    i_new_key |= StringToKey((char *)[[[o_popup selectedItem] title] cString]);
     return i_new_key;
 }
 @end