]> git.sur5r.net Git - openldap/blobdiff - libraries/libavl/testavl.c
All implementations of lutil_lockf (aka ldap_lockf) block until
[openldap] / libraries / libavl / testavl.c
index cb764f16dab7ccf0256a9d0d67edf6207f2bcd5d..60af40362ca561eadde9138284f0541c7f116568 100644 (file)
@@ -77,7 +77,8 @@ main( int argc, char **argv )
 
                printf( "> " );
        }
-       /* NOTREACHED */
+
+       return( 0 );
 }
 
 static void ravl_print( Avlnode *root, int depth )
@@ -91,7 +92,7 @@ static void ravl_print( Avlnode *root, int depth )
 
        for ( i = 0; i < depth; i++ )
                printf( "   " );
-       printf( "%s %d\n", root->avl_data, root->avl_bf );
+       printf( "%s %d\n", (char *) root->avl_data, root->avl_bf );
 
        ravl_print( root->avl_left, depth+1 );
 }