]> git.sesse.net Git - vlc/blobdiff - modules/control/rc.c
Fix a compilation warning.
[vlc] / modules / control / rc.c
index 3f79c05827a662e7fd51d93b6a87c43120d17540..c78fd9c180aa795f9c1811b857293ae1ac897bea 100644 (file)
@@ -2144,7 +2144,7 @@ bool ReadCommand( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
         {
             /* Standard input closed: exit */
             vlc_value_t empty;
-            Quit( p_intf, NULL, empty, empty, NULL );
+            Quit( VLC_OBJECT(p_intf), NULL, empty, empty, NULL );
         }
 
         p_buffer[ *pi_size ] = 0;