]> git.sur5r.net Git - openldap/commitdiff
cast avl_free argument to IFP
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 08:16:33 +0000 (08:16 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 08:16:33 +0000 (08:16 +0000)
libraries/libavl/testavl.c

index b551c8ba692d94f95919f212e8ee209b1d95d4b9..f702f5ecbfef78518090cfca3f4f1abe0abb0ad4 100644 (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 */