vlc | branch: master | Thomas Guillem <[email protected]> | Wed Jul  5 09:19:09 
2017 +0200| [fe29557cde4289bd091b8528b9019ea6cf49f6ba] | committer: Thomas 
Guillem

demux: stl: fix sign-compare warning

These values are always positive.

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

 modules/demux/stl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/stl.c b/modules/demux/stl.c
index 524f265e82..ffa6f4add9 100644
--- a/modules/demux/stl.c
+++ b/modules/demux/stl.c
@@ -55,16 +55,16 @@ typedef struct {
     mtime_t start;
     mtime_t stop;
     size_t  blocknumber;
-    int     count;
+    size_t  count;
 } stl_entry_t;
 
 struct demux_sys_t {
-    int         count;
+    size_t      count;
     stl_entry_t *index;
 
     es_out_id_t *es;
 
-    int         current;
+    size_t      current;
     int64_t     next_date;
     bool        b_slave;
     bool        b_first_time;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to