[vlc-commits] preparser: use size_t for an array count

Thomas Guillem git at videolan.org
Sun Jun 5 13:02:13 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jun  1 11:07:15 2016 +0200| [a9d2ad9c802f55c968692400ebd160efb6f8a22a] | committer: Thomas Guillem

preparser: use size_t for an array count

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

 src/playlist/preparser.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/preparser.c b/src/playlist/preparser.c
index f360a47..f42ce78 100644
--- a/src/playlist/preparser.c
+++ b/src/playlist/preparser.c
@@ -57,7 +57,7 @@ struct playlist_preparser_t
     vlc_cond_t      thread_wait;
     bool            b_live;
     preparser_entry_t  **pp_waiting;
-    int             i_waiting;
+    size_t          i_waiting;
 };
 
 static void *Thread( void * );



More information about the vlc-commits mailing list