Use maxi not max in test suite when comaparing ints

darcs-hash:20060731163119-ac50b-94134f758d9cd7e87746fb93f187aa100c1b820d.gz
This commit is contained in:
axel 2006-08-01 02:31:19 +10:00
parent 7cbc11f1c3
commit 474f6e90ff

View file

@ -307,7 +307,7 @@ static void al_test( int sz)
al_set( &l, 1, (void *)7 );
al_set( &l, sz, (void *)7 );
if( al_get_count( &l ) != maxf( sz+1, 2 ) )
if( al_get_count( &l ) != maxi( sz+1, 2 ) )
err( L"Wrong number of elements in array list" );
for( i=0; i<al_get_count( &l ); i++ )