aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--fish_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.c b/fish_tests.c
index ba882cc9..3d862990 100644
--- a/fish_tests.c
+++ b/fish_tests.c
@@ -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++ )