From 474f6e90ffc51cb83c25cc1d75f973fe489014f4 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 1 Aug 2006 02:31:19 +1000 Subject: [PATCH] Use maxi not max in test suite when comaparing ints darcs-hash:20060731163119-ac50b-94134f758d9cd7e87746fb93f187aa100c1b820d.gz --- fish_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_tests.c b/fish_tests.c index ba882cc9d..3d8629900 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