]> git.sesse.net Git - vlc/commitdiff
qt4: Fix stack smash in InputManager::UpdateVout
authorTristan Heaven <tristanheaven@gmail.com>
Tue, 20 Jul 2010 10:50:09 +0000 (11:50 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 20 Jul 2010 12:18:36 +0000 (14:18 +0200)
From http://bugs.gentoo.org/show_bug.cgi?id=328969

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/input_manager.cpp

index 286db5481843a7b879357d8747ec69e091e79bc9..f7f3bfa84552a7b0d781df59758fbb3c86ec05fe 100644 (file)
@@ -570,7 +570,7 @@ void InputManager::UpdateVout()
     if( hasInput() )
     {
         /* Get current vout lists from input */
-        int i_vout;
+        size_t i_vout;
         vout_thread_t **pp_vout;
         if( input_Control( p_input, INPUT_GET_VOUTS, &pp_vout, &i_vout ) )
         {