Skip to content
Snippets Groups Projects
Commit d7451444 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

cast avl_free argument to IFP

parent 63be2a00
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment