]> git.sur5r.net Git - openldap/commitdiff
cast printf(%s) argument from void* to char*
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 3 Mar 1999 17:32:26 +0000 (17:32 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 3 Mar 1999 17:32:26 +0000 (17:32 +0000)
libraries/libavl/testavl.c

index 8bc12d63777e4ae4025f4acf548a9c88d142e761..60af40362ca561eadde9138284f0541c7f116568 100644 (file)
@@ -92,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 );
 }