From: Hallvard Furuseth Date: Sat, 20 Feb 1999 08:16:33 +0000 (+0000) Subject: cast avl_free argument to IFP X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~559 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7451444c2dd22b3a34906b70b3b32292ebb861a;p=openldap cast avl_free argument to IFP --- 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 */