]> git.sesse.net Git - vlc/commitdiff
Avoid warning (braindead putenv() prototype!)
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 8 Dec 2009 16:47:51 +0000 (18:47 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 8 Dec 2009 20:03:55 +0000 (22:03 +0200)
modules/gui/qt4/qt4.cpp

index b84815ebbdfb2a5624f18bfb6665c6951487d971..87055924b8ca967ef76919d37ae0814424151d46 100644 (file)
@@ -279,7 +279,7 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
     XCloseDisplay( p_display );
-    putenv( "XLIB_SKIP_ARGB_VISUALS=1" );
+    putenv( (char *)"XLIB_SKIP_ARGB_VISUALS=1" );
 #endif
 
     /* Allocations of p_sys */