From d7451444c2dd22b3a34906b70b3b32292ebb861a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 20 Feb 1999 08:16:33 +0000 Subject: [PATCH] cast avl_free argument to IFP --- libraries/libavl/testavl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libavl/testavl.c b/libraries/libavl/testavl.c index b551c8ba69..f702f5ecbf 100644 --- a/libraries/libavl/testavl.c +++ b/libraries/libavl/testavl.c @@ -25,7 +25,7 @@ main( int argc, char **argv ) while ( fgets( command, sizeof( command ), stdin ) != NULL ) { switch( *command ) { case 'n': /* new tree */ - ( void ) avl_free( tree, free ); + ( void ) avl_free( tree, (IFP) free ); tree = NULLAVL; break; case 'p': /* print */ -- 2.39.5