Commit b61820ee authored by Pierre's avatar Pierre
Browse files

http: Don't compare unsigned directly and factorize.

The playlist needs to be fixed here not to use signed for its size, but...
parent a66885e6
......@@ -408,7 +408,8 @@ static void MacroDo( httpd_file_sys_t *p_args,
i_nb_items++;
}
for( i = 0; i < p_sys->p_playlist->items.i_size; i++ )
size_t size = p_sys->p_playlist->items.i_size;
for( i = 0; i < size; i++ )
{
size_t j;
......
Supports Markdown
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