cast avl_free argument to IFP

This commit is contained in:
Hallvard Furuseth 1999-02-20 08:16:33 +00:00
parent 63be2a00b5
commit d7451444c2

View file

@ -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 */