[vlc-devel] commit: playlist: Fix a warning about sign. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 12:05:26 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 11:54:23 2009 +0200| [3558cb118f2a14026fedec0223d90712358612f2] | committer: Pierre d'Herbemont 

playlist: Fix a warning about sign.

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

 src/playlist/sort.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/playlist/sort.c b/src/playlist/sort.c
index 67366d6..af238c0 100644
--- a/src/playlist/sort.c
+++ b/src/playlist/sort.c
@@ -140,7 +140,7 @@ void playlist_ItemArraySort( unsigned i_items, playlist_item_t **pp_items,
     }
     else /* Randomise */
     {
-        int i_position;
+        unsigned i_position;
         playlist_item_t *p_temp;
 
         for( i_position = 0; i_position < i_items ; i_position++ )




More information about the vlc-devel mailing list