Commit 65a29b5a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

xspf: fix type limit warning

parent 93db7261
...@@ -428,7 +428,7 @@ static bool parse_track_node COMPLEX_INTERFACE ...@@ -428,7 +428,7 @@ static bool parse_track_node COMPLEX_INTERFACE
free(psz_uri); free(psz_uri);
if (p_sys->i_track_id < 0 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); input_item_node_AppendNode(p_input_node, p_new_node);
vlc_gc_decref(p_new_input); vlc_gc_decref(p_new_input);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment