[vlc-commits] commit: RC: fix warning ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Jul 17 15:34:14 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 17 16:33:55 2010 +0300| [56d72625e7ee77962fc4b5de041789c175a25a3d] | committer: Rémi Denis-Courmont 

RC: fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=56d72625e7ee77962fc4b5de041789c175a25a3d
---

 modules/control/rc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 08816da..da3bdee 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -126,7 +126,7 @@ struct intf_sys_t
 
     /* status changes */
     vlc_mutex_t       status_lock;
-    playlist_status_t i_last_state;
+    int               i_last_state;
     playlist_t        *p_playlist;
     bool              b_input_buffering;
 
@@ -512,7 +512,7 @@ static void Run( intf_thread_t *p_intf )
 
             if( p_playlist )
             {
-                p_intf->p_sys->i_last_state = (int) PLAYLIST_STOPPED;
+                p_intf->p_sys->i_last_state = PLAYLIST_STOPPED;
                 msg_rc( STATUS_CHANGE "( stop state: 0 )" );
             }
         }



More information about the vlc-commits mailing list