[vlc-commits] XSPF: kill a warning
Jean-Baptiste Kempf
git at videolan.org
Sun Aug 28 03:59:25 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 28 03:57:55 2011 +0200| [6a0baf64e2b1674918b99494305e06ef9f3b032d] | committer: Jean-Baptiste Kempf
XSPF: kill a warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a0baf64e2b1674918b99494305e06ef9f3b032d
---
modules/demux/playlist/xspf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index 12d68c2..c1ebf34 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -436,7 +436,7 @@ static bool parse_track_node COMPLEX_INTERFACE
free(psz_uri);
if (p_sys->i_track_id < 0
- || p_sys->i_track_id >= (SIZE_MAX / sizeof(p_new_input)))
+ || (unsigned)p_sys->i_track_id >= (SIZE_MAX / sizeof(p_new_input)))
{
input_item_node_AppendNode(p_input_node, p_new_node);
vlc_gc_decref(p_new_input);
More information about the vlc-commits
mailing list