Commit d5618a75 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Avoid warning (braindead putenv() prototype!)

parent 4488d196
...@@ -279,7 +279,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -279,7 +279,7 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
XCloseDisplay( p_display ); XCloseDisplay( p_display );
putenv( "XLIB_SKIP_ARGB_VISUALS=1" ); putenv( (char *)"XLIB_SKIP_ARGB_VISUALS=1" );
#endif #endif
/* Allocations of p_sys */ /* Allocations of p_sys */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment