[vlc-commits] xspf: fix type limit warning
Rémi Denis-Courmont
git at videolan.org
Tue Apr 1 22:45:26 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr 1 23:33:41 2014 +0300| [65a29b5a84eb1566744c9975fbe2eb642b877510] | committer: Rémi Denis-Courmont
xspf: fix type limit warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65a29b5a84eb1566744c9975fbe2eb642b877510
---
modules/demux/playlist/xspf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index afd9237..a58782b 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -428,7 +428,7 @@ static bool parse_track_node COMPLEX_INTERFACE
free(psz_uri);
if (p_sys->i_track_id < 0
- || (unsigned)p_sys->i_track_id >= (SIZE_MAX / sizeof(p_new_input)))
+ || (size_t)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