[vlc-commits] Puzzle: kill a warning

Jean-Baptiste Kempf git at videolan.org
Thu Feb 17 23:06:59 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 23:04:43 2011 +0100| [7ae6b04d0d7c67b5d49a7475b3300020cdec246b] | committer: Jean-Baptiste Kempf

Puzzle: kill a warning

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

 modules/video_filter/puzzle.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/puzzle.c b/modules/video_filter/puzzle.c
index 3f0203e..c577753 100644
--- a/modules/video_filter/puzzle.c
+++ b/modules/video_filter/puzzle.c
@@ -442,7 +442,7 @@ static void Shuffle( filter_sys_t *p_sys )
     {
         for( unsigned i = 0; i < i_count; i++ )
         {
-            if( p_sys->pi_order[i] == i_count - 1 )
+            if( p_sys->pi_order[i] == (int)i_count - 1 )
             {
                 p_sys->i_selected = i;
                 break;
@@ -454,4 +454,3 @@ static void Shuffle( filter_sys_t *p_sys )
         p_sys->i_selected = -1;
     }
 }
-



More information about the vlc-commits mailing list