Commit 3d204990 authored by Thomas Guillem's avatar Thomas Guillem

test/epg: fix sign warnings

parent 979111a1
......@@ -41,17 +41,17 @@ static void assert_current( const vlc_epg_t *p_epg, const char *psz_name )
static void print_order( const vlc_epg_t *p_epg )
{
printf("order: ");
for( int i=0; i<p_epg->i_event; i++ )
for( size_t i = 0; i < p_epg->i_event; i++ )
printf("%s ", p_epg->pp_event[i]->psz_name );
if( p_epg->p_current )
printf(" current %s", p_epg->p_current->psz_name );
printf("\n");
}
static void assert_events( const vlc_epg_t *p_epg, const char *psz_names, int i_names )
static void assert_events( const vlc_epg_t *p_epg, const char *psz_names, size_t i_names )
{
assert( p_epg->i_event == i_names );
for( int i=0; i<p_epg->i_event; i++ )
for( size_t i = 0; i < p_epg->i_event; i++ )
{
assert( p_epg->pp_event[i]->psz_name &&
p_epg->pp_event[i]->psz_name[0] == psz_names[i] );
......
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