cast to (const char**)
authorRafaël Carré <funman@videolan.org>
Sun, 27 Jan 2008 14:26:08 +0000 (14:26 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 27 Jan 2008 14:26:08 +0000 (14:26 +0000)
src/control/mediacontrol_core.c

index b0da644..c312450 100644 (file)
@@ -67,7 +67,7 @@ mediacontrol_Instance* mediacontrol_new( int argc, char** argv, mediacontrol_Exc
     if( !retval )
         RAISE_NULL( mediacontrol_InternalException, "Out of memory" );
 
-    retval->p_instance = libvlc_new( argc, argv, &ex );
+    retval->p_instance = libvlc_new( argc, (const char**)argv, &ex );
     HANDLE_LIBVLC_EXCEPTION_NULL( &ex );
     retval->p_playlist = retval->p_instance->p_libvlc_int->p_playlist;
     return retval;