]> git.sesse.net Git - vlc/commitdiff
Fix warnings
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 13 Nov 2006 15:37:26 +0000 (15:37 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 13 Nov 2006 15:37:26 +0000 (15:37 +0000)
src/vlc.c

index 2f2750ad55f4d6b391a7ed8696e48b346563b6d5..2980db1370896fc54d455338d5a606208ee24a15 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -62,16 +62,16 @@ int main( int i_argc, char *ppsz_argv[] )
 #ifdef HAVE_PUTENV
 #   ifdef DEBUG
     /* Activate malloc checking routines to detect heap corruptions. */
-    putenv( "MALLOC_CHECK_=2" );
+    putenv( (char*)"MALLOC_CHECK_=2" );
 
     /* Disable the ugly Gnome crash dialog so that we properly segfault */
-    putenv( "GNOME_DISABLE_CRASH_DIALOG=1" );
+    putenv( (char *)"GNOME_DISABLE_CRASH_DIALOG=1" );
 #   endif
 
     /* If the user isn't using VLC_VERBOSE, set it to 0 by default */
     if( getenv( "VLC_VERBOSE" ) == NULL )
     {
-        putenv( "VLC_VERBOSE=0" );
+        putenv( (char *)"VLC_VERBOSE=0" );
     }
 #endif