]> git.sur5r.net Git - openldap/commitdiff
Remove a useless function pointer cast.
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 16 Dec 2002 12:02:54 +0000 (12:02 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 16 Dec 2002 12:02:54 +0000 (12:02 +0000)
libraries/libavl/testavl.c

index b76d1ba1d56ab580567a43bd81bede300e7ae61f..6de900c26635324fac580216f39d17eac5308c3f 100644 (file)
@@ -32,7 +32,7 @@ main( int argc, char **argv )
        while ( fgets( command, sizeof( command ), stdin ) != NULL ) {
                switch( *command ) {
                case 'n':       /* new tree */
-                       ( void ) avl_free( tree, (AVL_FREE) free );
+                       ( void ) avl_free( tree, free );
                        tree = NULL;
                        break;
                case 'p':       /* print */